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

Fix -dns flag when -https is enabled #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

2opremio
Copy link

This change makes the -dns flag be respected with the -https flag

Before this change the sudo hyperfox -ui -http 80 -dns 8.8.8.8 -> curl http://example.com lead to an infinite request loop when -https was also supplied (i.e. sudo hyperfox -ui -http 80 -https 443 -dns 8.8.8.8).

This change makes the `-dns` flag be respected with the `-https` flag

Before this change the `sudo hyperfox -ui -http 80 -dns 8.8.8.8` -> `curl http://example.com` lead to an infinite
request loop when `-https` was also supplied (i.e. `sudo hyperfox -ui -http 80 -https 443 -dns 8.8.8.8`).
@2opremio 2opremio force-pushed the respect-dns-flag-in-https branch from 7951e04 to bad4b14 Compare February 28, 2021 20:37
@2opremio 2opremio changed the title Respect -dns flag when -https is enabled Fix -dns flag when -https is enabled Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant