Skip to content

Commit

Permalink
Update ServerInboundHandler.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn225 authored Sep 30, 2024
1 parent 453c609 commit 73a209b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,8 @@ private[zio] final case class ServerInboundHandler(
val isValidHost = validateHostname(hostname)
val isValidPort = parts.length == 1 || (parts.length == 2 && parts(1).forall(_.isDigit))
val isValid = isValidHost && isValidPort
println(s"Host: $host, isValidHost: $isValidHost, isValidPort: $isValidPort, isValid: $isValid")
isValid
case None =>
println("Host header missing!")
false
}
}
Expand Down

0 comments on commit 73a209b

Please sign in to comment.