diff --git a/websocket-sharp/Net/ChunkedRequestStream.cs b/websocket-sharp/Net/ChunkedRequestStream.cs index e64e6923..6505eba0 100644 --- a/websocket-sharp/Net/ChunkedRequestStream.cs +++ b/websocket-sharp/Net/ChunkedRequestStream.cs @@ -204,9 +204,9 @@ namespace WebSocketSharp.Net ares.AsyncWaitHandle.WaitOne (); 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;