proxy.py icon indicating copy to clipboard operation
proxy.py copied to clipboard

proxy bypass

Open bejokun opened this issue 11 months ago • 1 comments

Hii If possible please add feature bypass domain from use proxy upstream/reverse (use direct connection when its resolve to 127.0.0.1/localhost) and print on each client hostname requested. Thanks for your hard work.

bejokun avatar Mar 20 '24 05:03 bejokun

Thank you @bejokun . May be we can add a flag based facility to bypass certain hosts.

To support this via plugins, I looked at code and before_upstream_connection currently returns Optional[HttpParser]. When None is returns by plugins, connection is dropped. Hence, I am unsure how to add support for bypass via before_upstream_connection without changing its signature.

abhinavsingh avatar May 10 '24 17:05 abhinavsingh