From b858df112d207119b80445f84ebd3688c8b8eb44 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 7 Dec 2020 20:58:34 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/HttpConnection.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 05ffb796..b3cc0a97 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -356,7 +356,9 @@ namespace WebSocketSharp.Net if (conn._timeoutCanceled[current]) return; - conn.SendError (null, 408); + conn._context.ErrorStatus = 408; + + conn._context.SendError (); } }