mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 14:47:31 +09:00
Bug 1345240 - h2 stalls on failed early data hard reload
This commit is contained in:
parent
c7e0248d2d
commit
0f08cb0c4f
1 changed files with 6 additions and 0 deletions
|
|
@ -2320,7 +2320,13 @@ Http2Session::ReadSegmentsAgain(nsAHttpSegmentReader *reader,
|
||||||
if (!stream) {
|
if (!stream) {
|
||||||
LOG3(("Http2Session %p could not identify a stream to write; suspending.",
|
LOG3(("Http2Session %p could not identify a stream to write; suspending.",
|
||||||
this));
|
this));
|
||||||
|
uint32_t availBeforeFlush = mOutputQueueUsed - mOutputQueueSent;
|
||||||
FlushOutputQueue();
|
FlushOutputQueue();
|
||||||
|
uint32_t availAfterFlush = mOutputQueueUsed - mOutputQueueSent;
|
||||||
|
if (availBeforeFlush != availAfterFlush) {
|
||||||
|
LOG3(("Http2Session %p ResumeRecv After early flush in ReadSegments", this));
|
||||||
|
Unused << ResumeRecv();
|
||||||
|
}
|
||||||
SetWriteCallbacks();
|
SetWriteCallbacks();
|
||||||
return NS_BASE_STREAM_WOULD_BLOCK;
|
return NS_BASE_STREAM_WOULD_BLOCK;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue