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

chore(martian): unpack Proxy to proxyConn and move stuff around #673

Closed mmatczuk closed 7 months ago

mmatczuk commented 7 months ago

This add proxyConn type to avoid passing conn and buffer as function arguments. In addition to that move different items from proxy.go to dedicated files.