[Modify] Polish it
This commit is contained in:
parent
4fbc2d4f54
commit
cab803cca7
@ -487,12 +487,12 @@ namespace WebSocketSharp.Net
|
||||
disposeRequestBuffer ();
|
||||
if (chunked) {
|
||||
_context.Response.SendChunked = true;
|
||||
_inputStream = new ChunkedRequestStream (
|
||||
_stream, buff, _position, len - _position, _context);
|
||||
_inputStream =
|
||||
new ChunkedRequestStream (_stream, buff, _position, len - _position, _context);
|
||||
}
|
||||
else {
|
||||
_inputStream = new RequestStream (
|
||||
_stream, buff, _position, len - _position, contentLength);
|
||||
_inputStream =
|
||||
new RequestStream (_stream, buff, _position, len - _position, contentLength);
|
||||
}
|
||||
|
||||
return _inputStream;
|
||||
|
Loading…
Reference in New Issue
Block a user