From 3088a51a6b116ec5e3c08d89e6698dbf3b5f2125 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 4 Nov 2020 20:06:21 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/HttpConnection.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 7b65444e..af7b5bb9 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -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 (); } }