Fix #2275 %s WebSocket version %s server handshake
This commit is contained in:
parent
d3ffa1b02b
commit
fcc6b544a4
@ -156,7 +156,7 @@ public abstract class WebSocketServerHandshaker {
|
||||
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();
|
||||
|
@ -111,7 +111,7 @@ public class WebSocketServerHandshaker07 extends WebSocketServerHandshaker {
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user