[Modify] Polish it
This commit is contained in:
parent
784ff0d225
commit
0448d39383
@ -351,7 +351,7 @@ namespace WebSocketSharp.Server
|
||||
internal void Start (WebSocketContext context, WebSocketSessionManager sessions)
|
||||
{
|
||||
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);
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user