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/tshttpproxy
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>
3 years ago
..
tshttpproxy.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 4 years ago
tshttpproxy_future.go all: gofmt with Go 1.17 3 years ago
tshttpproxy_test.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 4 years ago
tshttpproxy_windows.go net/tshttpproxy: use correct size for Windows BOOL argument 3 years ago