[Fix] Set HTTP status code 404
This commit is contained in:
@@ -288,7 +288,7 @@ namespace WebSocketSharp.Net
|
||||
}
|
||||
|
||||
if (!conn._listener.BindHttpListenerTo (conn._context)) {
|
||||
conn.SendError ("Invalid host", 400);
|
||||
conn.SendError (null, 404);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user