[Modify] 995
This commit is contained in:
parent
237c500d6b
commit
7c626bdece
@ -204,9 +204,9 @@ namespace WebSocketSharp.Net
|
|||||||
ares.AsyncWaitHandle.WaitOne ();
|
ares.AsyncWaitHandle.WaitOne ();
|
||||||
|
|
||||||
if (ares.HasException) {
|
if (ares.HasException) {
|
||||||
var msg = "I/O operation aborted.";
|
var msg = "The I/O operation has been aborted.";
|
||||||
|
|
||||||
throw new HttpListenerException (400, msg);
|
throw new HttpListenerException (995, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ares.Count;
|
return ares.Count;
|
||||||
|
Loading…
Reference in New Issue
Block a user