[Modify] Polish it
This commit is contained in:
parent
0e75c9fddd
commit
3b9c76d19f
@ -784,11 +784,6 @@ namespace WebSocketSharp.Net
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!method.IsToken ()) {
|
|
||||||
_context.ErrorMessage = "Invalid request line (method)";
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var target = parts[1];
|
var target = parts[1];
|
||||||
if (target.Length == 0) {
|
if (target.Length == 0) {
|
||||||
_context.ErrorMessage = "Invalid request line (target)";
|
_context.ErrorMessage = "Invalid request line (target)";
|
||||||
|
Loading…
Reference in New Issue
Block a user