[Modify] Replace it
This commit is contained in:
parent
332801e794
commit
5daaff6ab7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user