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

Merge: TLS + SNI + proxy => bug #22

Merged
merged 1 commit into from
Sep 19, 2012
Merged

Merge: TLS + SNI + proxy => bug #22

merged 1 commit into from
Sep 19, 2012

Conversation

swankjesse
Copy link
Collaborator

Original AOSP/libcore commit from Brian Carlstrom;
The SNI at the TLS layer is the hostname of the proxy instead
of the hostname in the URL.

Original AOSP/libcore commit from Brian Carlstrom;
The SNI at the TLS layer is the hostname of the proxy instead
of the hostname in the URL.
@@ -201,7 +201,7 @@ public SSLSocket setupSecureSocket(SSLSocketFactory sslSocketFactory,
// Create the wrapper over connected socket.
sslSocket = (SSLSocket) sslSocketFactory.createSocket(socket,
address.uriHost, address.uriPort, true /* autoClose */);
Libcore.makeTlsTolerant(sslSocket, address.socketHost, tlsTolerant);
Libcore.makeTlsTolerant(sslSocket, address.uriHost, tlsTolerant);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this is structurally different from AOSP (which doesn't have SPDY).
http://omapzoom.org/?p=platform/libcore.git;a=commitdiff;h=b7705a4629bb74a5bb19d97bf0b4dd4c74cecd9e

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.

3 participants