From ef31a54578863d0af635f362f7064c61fd29b78d Mon Sep 17 00:00:00 2001 From: Russ White <356303+russwyte@users.noreply.github.com> Date: Thu, 19 Dec 2024 19:03:15 -0600 Subject: [PATCH] cleanup --- project/Dependencies.scala | 2 +- .../src/main/scala/zio/http/netty/server/ServerSSLDecoder.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 9bd09b8f7..267b6f5c2 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -2,7 +2,7 @@ import sbt.* object Dependencies { val JwtCoreVersion = "10.0.1" - val NettyVersion = "4.1.112.Final" + val NettyVersion = "4.1.116.Final" val NettyIncubatorVersion = "0.0.25.Final" val ScalaCompactCollectionVersion = "2.12.0" val ZioVersion = "2.1.11" diff --git a/zio-http/jvm/src/main/scala/zio/http/netty/server/ServerSSLDecoder.scala b/zio-http/jvm/src/main/scala/zio/http/netty/server/ServerSSLDecoder.scala index 53c3dfb3f..c3f9a6967 100644 --- a/zio-http/jvm/src/main/scala/zio/http/netty/server/ServerSSLDecoder.scala +++ b/zio-http/jvm/src/main/scala/zio/http/netty/server/ServerSSLDecoder.scala @@ -131,7 +131,7 @@ private[zio] class ServerSSLDecoder(sslConfig: SSLConfig, cfg: Server.Config) ex val httpBehaviour = sslConfig.behaviour if (in.readableBytes < 5) () - else if (SslHandler.isEncrypted(in)) { + else if (SslHandler.isEncrypted(in, false)) { pipeline.replace(this, Names.SSLHandler, sslContext.newHandler(context.alloc())) () } else {