diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 60df3f7b..5ad2763f 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -504,7 +504,7 @@ namespace WebSocketSharp.Net { lock (_sync) { if (_socket == null) - return _inputStream; + return null; if (_inputStream != null) return _inputStream;