Skip to content

Commit

Permalink
Use default ssl context in client too
Browse files Browse the repository at this point in the history
  • Loading branch information
peel committed Jul 4, 2024
1 parent 6150942 commit 719de1f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import io.circe.Decoder
import com.snowplowanalytics.snowplow.scalatracker.Tracking

import com.snowplowanalytics.snowplow.collector.core.model.Sinks
import javax.net.ssl.SSLContext

object Run {

Expand Down Expand Up @@ -113,7 +114,7 @@ object Run {
config.debug.http
)
_ <- withGracefulShutdown(config.preTerminationPeriod)(httpServer)
httpClient <- BlazeClientBuilder[F].resource
httpClient <- BlazeClientBuilder[F].withSslContext(SSLContext.getDefault).resource
} yield httpClient

resources.use { httpClient =>
Expand Down

0 comments on commit 719de1f

Please sign in to comment.