Fix #2275 %s WebSocket version %s server handshake
This commit is contained in:
parent
6efac6179e
commit
94bcbba324
@ -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();
|
||||
|
@ -113,7 +113,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);
|
||||
|
Loading…
Reference in New Issue
Block a user