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