[Modify] Replace it

This commit is contained in:
sta 2020-02-04 21:46:03 +09:00
parent 00ddd183fe
commit cf1b051f0e

View File

@ -276,10 +276,8 @@ namespace WebSocketSharp.Net
} }
} }
if (_sendChunked) { if (_sendChunked)
var last = getChunkSizeBytes (0, true); _write (_lastChunk, 0, 5);
_write (last, 0, last.Length);
}
_body.Dispose (); _body.Dispose ();
_response.Abort (); _response.Abort ();