Fixed bug in stream buffer that could cause data to be

inserted out of order.  Also removed unnecessary limit
on writes to the TCP socket.
This commit is contained in:
crs
2002-05-02 11:43:52 +00:00
parent 76269a48c1
commit 5132161e30
2 changed files with 3 additions and 19 deletions

View File

@@ -211,10 +211,6 @@ void CTCPSocket::ioService()
// get amount of data to write
UInt32 n = m_output->getSize();
if (n > 4096) {
// limit write size
n = 4096;
}
// write data
const void* buffer = m_output->peek(n);