[Modify] Polish it

This commit is contained in:
sta 2016-11-06 15:49:25 +09:00
parent 784ff0d225
commit 0448d39383

View File

@ -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;