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

ratelimit: invert read and write limits #783

Closed Choraden closed 2 months ago

Choraden commented 2 months ago

This patch pushes the invertion of limits down to the listener constructing code. It fits better here. Users do not have to invert it themselves.

The limit is global.