Skip to content

Commit

Permalink
revert unwanted changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
khajavi committed Dec 28, 2024
1 parent cb9d9f9 commit 20beeb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 20beeb3

Please sign in to comment.