[Modify] Polish it
This commit is contained in:
parent
0d7b507cee
commit
30599aa76a
@ -179,15 +179,15 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (closing) {
|
if (!closing) {
|
||||||
if (_sendChunked)
|
|
||||||
_write (_lastChunk, 0, 5);
|
|
||||||
|
|
||||||
_body = null;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
_body = new MemoryStream ();
|
_body = new MemoryStream ();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_sendChunked)
|
||||||
|
_write (_lastChunk, 0, 5);
|
||||||
|
|
||||||
|
_body = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool flushHeaders (bool closing)
|
private bool flushHeaders (bool closing)
|
||||||
|
Loading…
Reference in New Issue
Block a user