[Modify] Replace it

This commit is contained in:
sta 2021-04-11 16:32:45 +09:00
parent c761dc4c6f
commit 58dc23f1c1

View File

@ -452,10 +452,8 @@ namespace WebSocketSharp.Net
return; return;
foreach (var ctx in ctxs) { foreach (var ctx in ctxs) {
var res = ctx.Response; ctx.ErrorStatusCode = 503;
res.StatusCode = 503; ctx.SendError ();
res.Close ();
} }
} }