[Modify] Replace it
This commit is contained in:
parent
c761dc4c6f
commit
58dc23f1c1
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user