[Modify] Replace it

This commit is contained in:
sta 2020-12-19 21:25:55 +09:00
parent 332801e794
commit 5daaff6ab7

View File

@ -203,7 +203,9 @@ namespace WebSocketSharp.Net
return true;
if (schm == AuthenticationSchemes.None) {
_response.Close (HttpStatusCode.Forbidden);
_errorStatusCode = 403;
_errorMessage = "Authentication not allowed";
SendError ();
return false;
}