Permalink
Browse files

Fix #2275 %s WebSocket version %s server handshake

  • Loading branch information...
1 parent 6efac61 commit 94bcbba32496456e17e5426f88657445e04764ec Dao Ngoc committed with trustin Feb 28, 2014
@@ -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();
@@ -113,7 +113,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);

0 comments on commit 94bcbba

Please sign in to comment.