зеркало из https://github.com/mozilla/gecko-dev.git
Fixes bug 54081. Uploading large files (>50k). r=warren, sr=mscott.
This commit is contained in:
Родитель
938babe38a
Коммит
3c271c19c7
|
@ -1377,7 +1377,7 @@ nsresult nsSocketTransport::doWriteFromStream(PRUint32 *aCount)
|
|||
*aCount = 0;
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// Try to send the data to the network.
|
||||
rv = nsWriteToSocket(nsnull, (void*)mSocketFD, mWriteBuffer, mWriteBufferIndex,
|
||||
rv = nsWriteToSocket(nsnull, (void*)mSocketFD, mWriteBuffer + mWriteBufferIndex, 0,
|
||||
mWriteBufferLength, aCount);
|
||||
// Update the buffer index and length with the actual amount of data
|
||||
// that was sent...
|
||||
|
|
Загрузка…
Ссылка в новой задаче