Bug 1079484 - Page stalls proxying over https part 1. r=hurley

This commit is contained in:
Patrick McManus 2014-10-07 16:35:05 -04:00
parent 34cfcdef59
commit 41f15471b5

View File

@ -353,6 +353,9 @@ TLSFilterTransaction::WriteSegments(nsAHttpSegmentWriter *aWriter,
if (NS_SUCCEEDED(rv) && NS_FAILED(mFilterReadCode) && !(*outCountWritten)) {
// nsPipe turns failures into silent OK.. undo that!
rv = mFilterReadCode;
if (mFilterReadCode == NS_BASE_STREAM_WOULD_BLOCK) {
Connection()->ResumeRecv();
}
}
LOG(("TLSFilterTransaction %p called trans->WriteSegments rv=%x %d\n",
this, rv, *outCountWritten));