Skip to content

http proxy sends sni servername#111

Open
zhangwen0411 wants to merge 1 commit intoravinet:masterfrom
zhangwen0411:sni
Open

http proxy sends sni servername#111
zhangwen0411 wants to merge 1 commit intoravinet:masterfrom
zhangwen0411:sni

Conversation

@zhangwen0411
Copy link
Copy Markdown

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