saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
202 stars 13 forks source link

http_proxy(errors): windows return status 502 for WSAENETUNREACH error #732

Closed mmatczuk closed 4 months ago

mmatczuk commented 4 months ago

Add handleWindowsNetError to handler list directly for simplicity. Adding OS build tags and additional code infrastructure is not worth the effort hance the check is added for all platforms.

Fixes #493