Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy bypass #1367

Open
bejokun opened this issue Mar 20, 2024 · 1 comment
Open

proxy bypass #1367

bejokun opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
Good First Issue Issues for new contributors to pick-up

Comments

@bejokun
Copy link

bejokun commented Mar 20, 2024

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.

@abhinavsingh abhinavsingh added the Good First Issue Issues for new contributors to pick-up label May 10, 2024
@abhinavsingh
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Issues for new contributors to pick-up
Projects
None yet
Development

No branches or pull requests

2 participants