Closed Bug 1562885 Opened 7 years ago Closed 10 months ago

When the stream limit of SETTINGS_TYPE_MAX_CONCURRENT is reached on a single h2 proxy session we don't open a new session

Categories

(Core :: Networking: Proxy, defect, P3)

defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox69 --- wontfix
firefox70 --- wontfix
firefox144 --- fixed

People

(Reporter: mayhemer, Assigned: kershaw)

References

Details

(Whiteboard: [http-conn][necko-triaged][secure-proxy][skyline][necko-priority-queue])

Attachments

(1 file)

48 bytes, text/x-phabricator-request
Details | Review
No description provided.
Whiteboard: [http-conn]

(In reply to Andrew Sun from comment #1)

Related to https://bugzilla.mozilla.org/show_bug.cgi?id=1556005 ?

Yes and no. I think there is more than one bug around our h2 proxying code..

Priority: -- → P1
Whiteboard: [http-conn] → [http-conn][necko-triaged]
Summary: When the stream limit of 100 is reached on a single h2 proxy session we don't open a new session → When the stream limit of SETTINGS_TYPE_MAX_CONCURRENT is reached on a single h2 proxy session we don't open a new session
Whiteboard: [http-conn][necko-triaged] → [http-conn][necko-triaged][secure-proxy-mvp]
Whiteboard: [http-conn][necko-triaged][secure-proxy-mvp] → [http-conn][necko-triaged][secure-proxy-skyline]
Whiteboard: [http-conn][necko-triaged][secure-proxy-skyline] → [http-conn][necko-triaged][secure-proxy][skyline]
Priority: P1 → P3

Changing to corp confidential temporarily (till after Sept 10) on Tony and elan's request.

Group: mozilla-employee-confidential
Severity: normal → S3

Moving bug to Core/Networking: Proxy.

Component: Networking: HTTP → Networking: Proxy

Moving bug to Core/Networking: Proxy

This should be easily testable:
Create a NodeHttp2ProxyServer, set a low maxConcurrentStreams, make more than maxConcurrentStreams requests to a server that only responds after 1 second.
The test should verify how many proxy connections are made.

Whiteboard: [http-conn][necko-triaged][secure-proxy][skyline] → [http-conn][necko-triaged][secure-proxy][skyline][necko-priority-queue]

I think this bug should be already fixed.
The code to check SETTINGS_TYPE_MAX_CONCURRENT value is here and we should respect this settings.
I'll add a test for this.

Assignee: nobody → kershaw
Attached file (secure)
Attachment #9497861 - Attachment description: Bug 1562885 - Ensure new HTTP/2 proxy session is opened when concurrent stream limit is hit, r=#necko → (secure)
Pushed by kjang@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/63fd337e9994 https://hg.mozilla.org/integration/autoland/rev/635b829771eb Ensure new HTTP/2 proxy session is opened when concurrent stream limit is hit, r=necko-reviewers,jesup
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Group: mozilla-employee-confidential
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: