tailscale/net
Josh Bleecher Snyder d4fd80c5d7 net/tshttpproxy: use correct size for Windows BOOL argument
The Windows BOOL type is an int32. We were using a bool,
which is a one byte wide. This could be responsible for the
ERROR_INVALID_PARAMETER errors we were seeing for calls to
WinHttpGetProxyForUrl.

We manually checked all other existing Windows syscalls
for similar mistakes and did not find any.

Updates #879

Co-authored-by: Aaron Klotz <aaron@tailscale.com>
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
(cherry picked from commit ca1b3fe235)
2021-12-14 11:11:36 -08:00
..
dns net/dns: fix checking for wrapped error when attempting to read wsl.conf for Windows WSL2 2021-12-14 10:40:01 -08:00
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 2021-07-26 20:30:28 -07:00
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
flowtrack all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
interfaces net/interfaces/windows: update Tailscale interface detection logic to 2021-11-08 07:44:33 -08:00
netcheck netcheck, controlclient, magicsock: add more metrics 2021-11-16 10:48:19 -08:00
netknob all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netns all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netstat all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 2021-04-06 15:34:29 -07:00
packet all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
portmapper net/portmapper: improve handling of UPnP parse errors 2021-12-14 10:40:44 -08:00
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 2021-06-28 13:12:42 -07:00
speedtest all: fix spelling mistakes 2021-10-12 21:23:14 -07:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial net/tlsdial: add forgotten test file for go mod tidy 2021-10-01 10:30:01 -07:00
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 2021-10-04 08:54:23 -07:00
tshttpproxy net/tshttpproxy: use correct size for Windows BOOL argument 2021-12-14 11:11:36 -08:00
tstun net/tstun: rate limit "self disco out packet" logging 2021-12-14 10:35:45 -08:00