Skip to content

Use Host header for host name, transparent proxy compatibility #106

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

Merged
merged 1 commit into from
Jan 3, 2021
Merged

Use Host header for host name, transparent proxy compatibility #106

merged 1 commit into from
Jan 3, 2021

Conversation

ValdikSS
Copy link
Contributor

@ValdikSS ValdikSS commented Jan 2, 2021

When pproxy receives relative URI in HTTP line header (like GET / HTTP/1.1 instead of GET http://flibustahezeous3.onion HTTP/1.1), it incorrectly assumes that the Host header should not be used as host_name.
This patch fixes this issue.

@qwj qwj merged commit a69cd95 into qwj:master Jan 3, 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.

2 participants