|
|
|
@ -351,7 +351,7 @@ namespace WebSocketSharp.Server
|
|
|
|
internal void Start (WebSocketContext context, WebSocketSessionManager sessions)
|
|
|
|
internal void Start (WebSocketContext context, WebSocketSessionManager sessions)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (_websocket != null) {
|
|
|
|
if (_websocket != null) {
|
|
|
|
_websocket.Log.Error ("This session has already been started.");
|
|
|
|
_websocket.Log.Error ("A session instance cannot be reused.");
|
|
|
|
context.WebSocket.Close (HttpStatusCode.ServiceUnavailable);
|
|
|
|
context.WebSocket.Close (HttpStatusCode.ServiceUnavailable);
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|