[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;
foreach (var ctx in ctxs) {
var res = ctx.Response;
res.StatusCode = 503;
res.Close ();
ctx.ErrorStatusCode = 503;
ctx.SendError ();
}
}