Skip to content

TLS versions#53

Open
benash wants to merge 2 commits intogleam-lang:mainfrom
benash:tls-versions
Open

TLS versions#53
benash wants to merge 2 commits intogleam-lang:mainfrom
benash:tls-versions

Conversation

@benash
Copy link

@benash benash commented Dec 30, 2025

This change adds a tls_versions configuration option that allows callers to restrict which TLS protocol versions are used.

We encountered the need for this option after discovering many BMCs (Baseboard Management Controllers) at our organization that have buggy TLS 1.3 implementations that fail the middlebox compatibility handshake. The workaround, that we've been using with the Hackney client till now, is to force TLS 1.2 for these connections. So we thought we'd add the same support to httpc.

We test by connecting to check.ja3.zone, which echoes back the negotiated TLS version in its JSON response.

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