-
Notifications
You must be signed in to change notification settings - Fork 654
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
HttpClient.create() shares SSL configuration across multiple instances #407
Labels
type/bug
A general bug
Milestone
Comments
Probably Related to #90 |
The issue still persists. Looking at the patch, the code compares host and port to decide whether the pool is suitable. In my case, I'm providing a different SSL configuration that uses the same host/port. |
violetagg
added a commit
that referenced
this issue
Oct 18, 2018
Take into account SSL, Proxy, Logging, Compression and Protocol when generating the pooled connection key
violetagg
added a commit
that referenced
this issue
Oct 25, 2018
Take into account SSL, Proxy, Logging, Compression and Protocol when generating the pooled connection key
@mp911de Can you test the latest snapshot? |
Thanks a lot for the fix and for solving the issue. |
thanks 👍 |
violetagg
added a commit
that referenced
this issue
Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
Calling
HttpClient.create().secure(Consumer)
(andHttpClient.create()
) should apply SSL config only for the underlying instance independently from earlier client instances.Actual behavior
HttpClient.create().secure(…)
does not apply SSL context (fromSslContextBuilder
) to the newly created instance.Using a dedicated
ConnectionProvider
(such asConnectionProvider.fixed()
) mitigates the issue.Steps to reproduce
Reactor Netty version
0.8.0.M1
JVM version (e.g.
java -version
)1.8.0
OS version (e.g.
uname -a
)MacOS X
The text was updated successfully, but these errors were encountered: