You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shared connection cache does not work properly when TLS is enabled. The problem is in the Tls class hashCode and equals implementations. SSLContext instance is used to calculate both of these, but it does not have any of these methods created on the SSLContext itself. Therefore even though SSLContext instance is the same in terms of the content/settings it is treated as not the same, since the default hashCode/equals is used.
Steps to reproduce
Create two identical WebClients with TLS set (have also shared connection cache enabled)
Execute request on both to the same endpoint on the same server
Check shared connection cache. It contains two entries instead of one
The text was updated successfully, but these errors were encountered:
Environment Details
Problem Description
Shared connection cache does not work properly when TLS is enabled. The problem is in the Tls class hashCode and equals implementations. SSLContext instance is used to calculate both of these, but it does not have any of these methods created on the SSLContext itself. Therefore even though SSLContext instance is the same in terms of the content/settings it is treated as not the same, since the default hashCode/equals is used.
Steps to reproduce
The text was updated successfully, but these errors were encountered: