mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Finally fix the last dogfood regression (big http posts), 47936
This commit is contained in:
parent
4db2157f5c
commit
19e9e19187
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user