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
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)
4 years ago
..
dns net/dns: fix checking for wrapped error when attempting to read wsl.conf for Windows WSL2 4 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 5 years ago
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
flowtrack all: use testingutil.MinAllocsPerRun 4 years ago
interfaces net/interfaces/windows: update Tailscale interface detection logic to 4 years ago
netcheck netcheck, controlclient, magicsock: add more metrics 4 years ago
netknob all: disable TCP keep-alives on iOS/Android 4 years ago
netns all: disable TCP keep-alives on iOS/Android 4 years ago
netstat all: gofmt with Go 1.17 5 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 5 years ago
packet all: use testingutil.MinAllocsPerRun 4 years ago
portmapper net/portmapper: improve handling of UPnP parse errors 4 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 5 years ago
speedtest all: fix spelling mistakes 4 years ago
stun all: gofmt with Go 1.17 5 years ago
tlsdial net/tlsdial: add forgotten test file for go mod tidy 4 years ago
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 4 years ago
tshttpproxy net/tshttpproxy: use correct size for Windows BOOL argument 4 years ago
tstun net/tstun: rate limit "self disco out packet" logging 4 years ago