[Modify] Remove it
This commit is contained in:
parent
b687e23c3c
commit
e4527a850a
@ -457,13 +457,6 @@ namespace WebSocketSharp.Server
|
|||||||
|
|
||||||
internal void Start (WebSocketContext context, WebSocketSessionManager sessions)
|
internal void Start (WebSocketContext context, WebSocketSessionManager sessions)
|
||||||
{
|
{
|
||||||
if (_websocket != null) {
|
|
||||||
_websocket.Log.Error ("A session instance cannot be reused.");
|
|
||||||
context.WebSocket.Close (HttpStatusCode.ServiceUnavailable);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context = context;
|
_context = context;
|
||||||
_sessions = sessions;
|
_sessions = sessions;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user