[Modify] Replace it
This commit is contained in:
parent
f34eb021b3
commit
878626da4a
@ -280,14 +280,8 @@ namespace WebSocketSharp.Net
|
||||
/// </value>
|
||||
public Stream InputStream {
|
||||
get {
|
||||
if (!HasEntityBody)
|
||||
return Stream.Null;
|
||||
|
||||
if (_inputStream == null) {
|
||||
_inputStream = _connection.GetRequestStream (
|
||||
_contentLength, _chunked
|
||||
);
|
||||
}
|
||||
if (_inputStream == null)
|
||||
_inputStream = getInputStream () ?? Stream.Null;
|
||||
|
||||
return _inputStream;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user