Use Sec-WebSocket-Origin in WebSocketClientHandshaker08 as replacement for Origin. See #264
This commit is contained in:
parent
951c275869
commit
ff5787266d
@ -130,7 +130,10 @@ public class WebSocketClientHandshaker08 extends WebSocketClientHandshaker {
|
||||
// See http://tools.ietf.org/html/rfc6454#section-6.2
|
||||
originValue = originValue + ":" + wsPort;
|
||||
}
|
||||
request.addHeader(Names.ORIGIN, originValue);
|
||||
|
||||
// Use Sec-WebSocket-Origin
|
||||
// See https://github.com/netty/netty/issues/264
|
||||
request.addHeader(Names.SEC_WEBSOCKET_ORIGIN, originValue);
|
||||
|
||||
|
||||
if (protocol != null && !protocol.equals("")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user