Update RequestConverter upgrade header handling.
@@ -68,7 +68,7 @@ protected void channelRead0(
return;
}
- if (nettyRequest.headers().contains("Sec-WebSocket-Version") ||
+ if (nettyRequest.headers().contains("Sec-WebSocket-Version") &&
"upgrade".equals(nettyRequest.headers().get("Connection"))) {
// Pass this on to later in the pipeline.
ReferenceCountUtil.retain(msg);
