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

Expose SSL Session of a connection to AsyncHandler.onTlsHandshakeSuccess #1596

Merged
merged 2 commits into from
Dec 6, 2018

Conversation

rolandomanrique
Copy link
Contributor

The goal of this change is to expose underlying SSLSession object once handshake is successful. This seems like a feature that can be useful to anyone that needs to retrieve session and/or certificate information from the connection.

A quick search for the feature yielded this conversation in google groups from 2014 so it seems people have been trying to do this for a while:

https://groups.google.com/forum/#!msg/asynchttpclient/7ySVbKqntgc/_pycVfrwiVMJ

@rolandomanrique
Copy link
Contributor Author

@slandelle any comments on this PR? Thanks.

@slandelle
Copy link
Contributor

Looks fine but will have to release a minor version as it's a minor breaking change.

@rolandomanrique
Copy link
Contributor Author

@slandelle would you like me to set the version in this PR? If so, should I go with 2.6.2-SNAPSHOT or 2.7.0-SNAPSHOT?

@slandelle slandelle merged commit f61f88e into AsyncHttpClient:master Dec 6, 2018
@slandelle slandelle added this to the 2.7.0 milestone Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants