Closed Bug 1249379 Opened 10 years ago Closed 10 years ago

http2 push not transmitting stream flow control bump on channel that is already open when headers arrive

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla47
Tracking Status
firefox46 --- verified
firefox47 --- verified

People

(Reporter: mcmanus, Assigned: mcmanus)

References

Details

(Whiteboard: [necko-active] [spdy])

Attachments

(1 file)

This is very similar to the bug that was dealt with in bug 1228822 you can see it with https://nghttp2.org/bug1228822/ and https://http2.undertow.io/ (thanks to the charles proxy folks for reporting the latter). (these are confirmed with e10s, untested at this point in single process)
Assignee: nobody → mcmanus
Blocks: 1228822
Whiteboard: [necko-active] [spdy]
Comment on attachment 8721010 [details] [diff] [review] H2 Push WindowUpdate not written to network Review of attachment 8721010 [details] [diff] [review]: ----------------------------------------------------------------- The basic problem was that by using the consumerstream's ::ReadSegments it wouldn't find the actual window update that was queued in the inline frame of the pushed stream. This shuffles some code around, but I think it makes the flow simpler. ::: netwerk/test/unit/test_http2.js @@ +1000,5 @@ > var altsvcpref1; > var altsvcpref2; > var loadGroup; > var serverPort; > +var speculativeLimit; this is a workaround for a different bug where the pushed resource and the request for it wound up on different sessions (which we can't 100% prevent, but it happened to my test a lot).
Depends on: 1249432
Attachment #8721010 - Flags: review?(hurley) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment on attachment 8721010 [details] [diff] [review] H2 Push WindowUpdate not written to network I would like to uplift 1253358 and 1249379 as part of making h2 push more robust. Approval Request Comment [Feature/regressing bug #]: original h2 bug [User impact if declined]: problems loading sites with h2 push - google, facebook, and twitter are all starting to use more push [Describe test coverage new/current, TreeHerder]: new xpcsell [Risks and why]: medium low. This is well understood and targetted, I would normally classify it as low except it does touch a fair number of LOC [String/UUID change made/needed]: none
Attachment #8721010 - Flags: approval-mozilla-aurora?
Comment on attachment 8721010 [details] [diff] [review] H2 Push WindowUpdate not written to network This is a big patch, seems a bit risky but there is some new test coverage. Let's uplift this before the merge. Patrick can you explain how/if QA can manually test the fix in 46?
Flags: needinfo?(mcmanus)
Attachment #8721010 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #7) > Patrick can you explain how/if QA can manually test the fix in 46? as long as this and 1253358 are both landed on 46, https://h2-dot-io-webapp-staging.appspot.com/io2016/ should illustrate the problem and fix. (it often blank without the patches).
Flags: needinfo?(mcmanus)
Andrei if your team can verify this in 46 some time during beta that would be great.
Flags: needinfo?(andrei.vaida)
I'll make sure we have a test case written and added in our Beta Regression Test Suite for this issue, based on Comment 8. Keeping the ni? as a reminder.
Reproduced the issue with 46.0a2 (2016-03-02), using the URL from Comment 8. Confirmed fixed on Windows 10 x64, Mac OS X 10.10.5 and Ubuntu 12.04 x86, using: - 46.0b10-build1 (20160411042519), - 47.0a2 (2016-04-14).
Status: RESOLVED → VERIFIED
Flags: needinfo?(andrei.vaida)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: