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

http proxy sends sni servername #111

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

Conversation

zhangwen0411
Copy link

We noticed that when a client connects to a HttpProxy (during recording) using HTTPS and sends over a SNI host name, the proxy doesn't pass on the host name when it connects to the real server. As a result, the connection might fail if the server requires that a SNI host name be sent.

We discovered this problem as we encountered this error message a bunch of times when recording washingtonpost.com:

Died on ssl_error: SSL_read: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

This pull request tries to fix this problem. Although the code isn't well-written, Keith said we should send a pull request anyway.

-Wen (@zhangwen0411) and Ernest (@jxguan)

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