You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Brad Fitzpatrick 10f48087f4 net/tshttpproxy: call winhttp calls from a fixed OS thread
We often see things in logs like:

2021-03-02 17:52:45.2456258 +0800 +0800: winhttp: Open: The parameter is incorrect.
2021-03-02 17:52:45.2506261 +0800 +0800: tshttpproxy: winhttp: GetProxyForURL("https://log.tailscale.io/c/tailnode.log.tailscale.io/5037bb42f4bc330e2d6143e191a7ff7e837c6be538139231de69a439536e0d68"): ERROR_INVALID_PARAMETER [unexpected]

I have a hunch that WinHTTP has thread-local state. If so, this would fix it.
If not, this is pretty harmless.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 4 years ago
dnsfallback control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 4 years ago
flowtrack net/flowtrack: add Tuple.String method 4 years ago
interfaces net/interfaces: merge darwin files for DefaultRouteInterface in sandbox 4 years ago
netcheck net/portmapper: add NAT-PMP client, move port mapping service probing 4 years ago
netns net/{interfaces,netns}: add some new tests, missed from prior commit 4 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest net/nettest: de-flake tests on Windows 4 years ago
packet net/packet: add some more TSMP packet reject reasons and MaybeBroken bit 4 years ago
portmapper net/portmapper: fix typo 4 years ago
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 4 years ago
stun tstest/natlab: use net.ErrClosed instead of a new error 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 5 years ago
tsaddr wgengine/router: add a dummy IPv6 address if needed for default routing. 4 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 4 years ago