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
218 stars 13 forks source link

wrong connection pool size #665

Closed mmatczuk closed 7 months ago

mmatczuk commented 7 months ago

Our HTTP connection pool size is not suited for a proxy, which may result in many redials and related errors like:

2024/01/29 13:35:57.173745 [proxy] [ERROR] [66370-96c301e0] failed to round trip: dial tcp 127.0.0.1:8080: connect: can't assign requested address

Envoy and Ngnix do not limit the number of idle connections by default.