[Modify] Polish it

This commit is contained in:
sta 2020-11-04 20:06:21 +09:00
parent 35384a9d31
commit 3088a51a6b

View File

@ -498,6 +498,7 @@ namespace WebSocketSharp.Net
_outputStream.Close (true);
close ();
return;
}
@ -505,11 +506,13 @@ namespace WebSocketSharp.Net
if (_context.Response.CloseConnection) {
close ();
return;
}
if (!_context.Request.FlushInput ()) {
close ();
return;
}
@ -518,6 +521,7 @@ namespace WebSocketSharp.Net
init ();
_reuses++;
BeginReadRequest ();
}
}