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 ca1b3fe235 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>
4 years ago
..
dns net/dns: make constants for the various DBus strings. 4 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 4 years ago
dnsfallback net/netns: thread logf into control functions 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 net/netns: thread logf into control functions 4 years ago
netknob all: disable TCP keep-alives on iOS/Android 4 years ago
netns net/netns: thread logf into control functions 4 years ago
netstat all: gofmt with Go 1.17 4 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: mark fewer PMP probe failures as unexpected 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 4 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, wgengine: add packet-level and drop metrics 4 years ago