Finally fix the last dogfood regression (big http posts), 47936

This commit is contained in:
ruslan%netscape.com 2000-09-01 00:59:48 +00:00
parent 4db2157f5c
commit 19e9e19187

View File

@ -1257,8 +1257,8 @@ nsresult nsSocketTransport::doWrite(PRInt16 aSelectFlags)
//
// The write operation has completed...
//
if ((NS_SUCCEEDED(rv) && (0 == totalBytesWritten)) || // eof, or
(GetFlag(eSocketWrite_Async) && (0 == mWriteCount))) { // wrote everything
if (NS_SUCCEEDED(rv) && (0 == totalBytesWritten || // eof, or
GetFlag(eSocketWrite_Async) && 0 == mWriteCount) ) { // wrote everything
mSelectFlags &= (~PR_POLL_WRITE);
rv = NS_OK;
}