Skip to content

Commit 1e8a9fe

Browse files
committed
Bump sslcontext kickstart
1 parent d8b5c3e commit 1e8a9fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/main/java/nl/altindag/client/service/Http4kApache5HttpClientService.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ class Http4kApache5HttpClientService(
3030
) : Http4kClientService(
3131
ApacheClient(
3232
client = sslFactory.let { factory ->
33-
val socketFactory = Apache5SslUtils.toSocketFactory(factory)
33+
val socketStrategy = Apache5SslUtils.toTlsSocketStrategy(factory)
3434
val connectionManager = PoolingHttpClientConnectionManagerBuilder.create()
35-
.setSSLSocketFactory(socketFactory)
35+
.setTlsSocketStrategy(socketStrategy)
3636
.build()
3737

3838
HttpClients.custom()

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<version.scala-compiler>2.13.14</version.scala-compiler>
2121
<version.kotlin>2.0.0</version.kotlin>
2222
<version.kotlinx-coroutines-core>1.8.1</version.kotlinx-coroutines-core>
23-
<version.sslcontext-kickstart>8.3.7</version.sslcontext-kickstart>
23+
<version.sslcontext-kickstart>9.0.0</version.sslcontext-kickstart>
2424
<version.spring>3.3.1</version.spring>
2525
<version.slf4j>2.0.13</version.slf4j>
2626
<version.logback>1.5.6</version.logback>

0 commit comments

Comments
 (0)