mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-27 21:29:12 +00:00
HTTPCLIENT-2198, Fixed AbstractClientTlsStrategy to respect HttpVersionPolicy
Updated AbstractClientTlsStrategy to pass only the HttpVersionPolicy set by TlsConfig instead of the entire TlsConfig to H2TlsSupport.selectApplicationProtocols() method.
This commit is contained in:
parent
3ee994b25c
commit
d4c0e961ab
@ -135,7 +135,7 @@ public void upgrade(
|
||||
H2TlsSupport.setEnableRetransmissions(sslParameters, false);
|
||||
}
|
||||
|
||||
applyParameters(sslEngine, sslParameters, H2TlsSupport.selectApplicationProtocols(attachment));
|
||||
applyParameters(sslEngine, sslParameters, H2TlsSupport.selectApplicationProtocols(versionPolicy));
|
||||
|
||||
initializeEngine(sslEngine);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user