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 @@ abstract class AbstractClientTlsStrategy implements TlsStrategy {
|
||||||
H2TlsSupport.setEnableRetransmissions(sslParameters, false);
|
H2TlsSupport.setEnableRetransmissions(sslParameters, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
applyParameters(sslEngine, sslParameters, H2TlsSupport.selectApplicationProtocols(attachment));
|
applyParameters(sslEngine, sslParameters, H2TlsSupport.selectApplicationProtocols(versionPolicy));
|
||||||
|
|
||||||
initializeEngine(sslEngine);
|
initializeEngine(sslEngine);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue