Skip to content

honor TlsConfig protocols and cipher suites in classic TLS upgrade - #930

Open
Hsnmohd wants to merge 1 commit into
apache:masterfrom
Hsnmohd:classic-tlsconfig-protocols
Open

Hsnmohd wants to merge 1 commit into
apache:masterfrom
Hsnmohd:classic-tlsconfig-protocols

Conversation

@Hsnmohd

@Hsnmohd Hsnmohd commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

The classic TLS upgrade in AbstractClientTlsStrategy.executeHandshake (and the deprecated SSLConnectionSocketFactory) used the TlsConfig attachment only for the handshake timeout, so a classic client set up with setDefaultTlsConfig for TLSv1.3 only or a restricted cipher list still negotiated TLSv1.2 with a default suite against a TLSv1.2-only server that the async client refuses with protocol_version; apply the TlsConfig protocols and cipher suites first, then the strategy settings, then the JVM defaults minus weak entries, the same precedence the async path uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant