From 6184f51ce3884f588c3dd95dcdc591d910cf6e53 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 7 Dec 2020 21:02:17 +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 b3cc0a97..d36d7498 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -325,7 +325,9 @@ namespace WebSocketSharp.Net return; } - conn.SendError (null, 404); + conn._context.ErrorStatus = 404; + + conn._context.SendError (); return; }