Browse Source

[Modify] Polish it

pull/298/merge
sta 4 months ago
parent
commit
2d3f5fffd7
  1. 4
      websocket-sharp/Server/WebSocketBehavior.cs

4
websocket-sharp/Server/WebSocketBehavior.cs

@ -628,7 +628,9 @@ namespace WebSocketSharp.Server
_websocket = context.WebSocket;
_websocket.CustomHandshakeRequestChecker = checkHandshakeRequest;
_websocket.EmitOnPing = _emitOnPing;
if (_emitOnPing)
_websocket.EmitOnPing = true;
if (_ignoreExtensions)
_websocket.IgnoreExtensions = true;

Loading…
Cancel
Save