proxy.py
proxy.py copied to clipboard
proxy bypass
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.
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.