[Modify] Polish it

This commit is contained in:
sta 2016-06-13 15:43:32 +09:00
parent 4fbc2d4f54
commit cab803cca7

View File

@ -487,12 +487,12 @@ namespace WebSocketSharp.Net
disposeRequestBuffer (); disposeRequestBuffer ();
if (chunked) { if (chunked) {
_context.Response.SendChunked = true; _context.Response.SendChunked = true;
_inputStream = new ChunkedRequestStream ( _inputStream =
_stream, buff, _position, len - _position, _context); new ChunkedRequestStream (_stream, buff, _position, len - _position, _context);
} }
else { else {
_inputStream = new RequestStream ( _inputStream =
_stream, buff, _position, len - _position, contentLength); new RequestStream (_stream, buff, _position, len - _position, contentLength);
} }
return _inputStream; return _inputStream;