Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix #2275 %s WebSocket version %s server handshake #2277

Closed
wants to merge 1 commit into from

2 participants

Ngoc Dao Trustin Lee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 28, 2014
  1. Fix #2275 %s WebSocket version %s server handshake

    Dao Ngoc authored
This page is out of date. Refresh to see the latest.
2  codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker.java
View
@@ -156,7 +156,7 @@ public final ChannelFuture handshake(Channel channel, FullHttpRequest req,
HttpHeaders responseHeaders, final ChannelPromise promise) {
if (logger.isDebugEnabled()) {
- logger.debug("%s WebSocket version %s server handshake", channel, version());
+ logger.debug("{} WebSocket version {} server handshake", channel, version());
}
FullHttpResponse response = newHandshakeResponse(req, responseHeaders);
ChannelPipeline p = channel.pipeline();
2  codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker07.java
View
@@ -111,7 +111,7 @@ protected FullHttpResponse newHandshakeResponse(FullHttpRequest req, HttpHeaders
String accept = WebSocketUtil.base64(sha1);
if (logger.isDebugEnabled()) {
- logger.debug("WebSocket version 07 server handshake key: {}, response: %s.", key, accept);
+ logger.debug("WebSocket version 07 server handshake key: {}, response: {}.", key, accept);
}
res.headers().add(Names.UPGRADE, WEBSOCKET.toLowerCase());
Something went wrong with that request. Please try again.