mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-01 06:33:22 +00:00
#416: M1381016 M1371657
This commit is contained in:
parent
0683827d29
commit
afc8202404
@ -154,6 +154,8 @@ nsHTMLEditor::~nsHTMLEditor()
|
||||
}
|
||||
|
||||
RemoveEventListeners();
|
||||
|
||||
HideAnonymousEditingUIs();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2764,7 +2764,10 @@ Http2Session::WriteSegmentsAgain(nsAHttpSegmentWriter *writer,
|
||||
LOG3(("Http2Session::WriteSegments %p trying to discard %d bytes of data",
|
||||
this, count));
|
||||
|
||||
if (!count) {
|
||||
if (!count && mDownstreamState == DISCARDING_DATA_FRAME) {
|
||||
// Only do this short-cirtuit if we're not discarding a pure padding
|
||||
// frame, as we need to potentially handle the stream FIN in those cases.
|
||||
// See bug 1381016 comment 36 for more details.
|
||||
ResetDownstreamState();
|
||||
ResumeRecv();
|
||||
return NS_BASE_STREAM_WOULD_BLOCK;
|
||||
|
Loading…
Reference in New Issue
Block a user