Loading netwerk/protocol/http/src/nsHttpTransaction.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -352,10 +352,8 @@ nsHttpTransaction::OnTransportStatus(nsresult status, PRUint64 progress) NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "wrong thread"); // nsHttpChannel synthesizes progress events in OnDataAvailable if (status == nsISocketTransport::STATUS_RECEIVING_FROM) return; // Need to do this before the STATUS_RECEIVING_FROM check below, to make // sure that the activity distributor gets told about all status events. if (mActivityDistributor) { // upon STATUS_WAITING_FOR; report request body sent if ((mHasRequestBody) && Loading @@ -376,6 +374,10 @@ nsHttpTransaction::OnTransportStatus(nsresult status, PRUint64 progress) EmptyCString()); } // nsHttpChannel synthesizes progress events in OnDataAvailable if (status == nsISocketTransport::STATUS_RECEIVING_FROM) return; nsUint64 progressMax; if (status == nsISocketTransport::STATUS_SENDING_TO) { Loading Loading
netwerk/protocol/http/src/nsHttpTransaction.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -352,10 +352,8 @@ nsHttpTransaction::OnTransportStatus(nsresult status, PRUint64 progress) NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "wrong thread"); // nsHttpChannel synthesizes progress events in OnDataAvailable if (status == nsISocketTransport::STATUS_RECEIVING_FROM) return; // Need to do this before the STATUS_RECEIVING_FROM check below, to make // sure that the activity distributor gets told about all status events. if (mActivityDistributor) { // upon STATUS_WAITING_FOR; report request body sent if ((mHasRequestBody) && Loading @@ -376,6 +374,10 @@ nsHttpTransaction::OnTransportStatus(nsresult status, PRUint64 progress) EmptyCString()); } // nsHttpChannel synthesizes progress events in OnDataAvailable if (status == nsISocketTransport::STATUS_RECEIVING_FROM) return; nsUint64 progressMax; if (status == nsISocketTransport::STATUS_SENDING_TO) { Loading