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>
2021-11-22 12:24:24 -08:00
..
tshttpproxy.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 2021-02-18 08:27:37 -08:00
tshttpproxy_future.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tshttpproxy_test.go net/tshttpproxy: support HTTP proxy environment credentials on Windows too 2021-02-18 08:27:37 -08:00
tshttpproxy_windows.go net/tshttpproxy: use correct size for Windows BOOL argument 2021-11-22 12:24:24 -08:00