Skip to content

Commit

Permalink
Update HttpClient to use modern TLS connection specification (disable…
Browse files Browse the repository at this point in the history
… TLS 1.0 and 1.1)
  • Loading branch information
rfc2822 committed Jan 27, 2025
1 parent 18c3514 commit 5e3774b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class HttpClient(
// allow cleartext and TLS 1.2+
.connectionSpecs(listOf(
ConnectionSpec.CLEARTEXT,
ConnectionSpec.COMPATIBLE_TLS
ConnectionSpec.MODERN_TLS
))

// offer Brotli and gzip compression (can be disabled per request with `Accept-Encoding: identity`)
Expand Down

0 comments on commit 5e3774b

Please sign in to comment.