Closed Bug 1740457 Opened 4 years ago Closed 4 years ago

Allow network.http.spdy.chunk-size to be larger than 16K

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

No description provided.

According to https://datatracker.ietf.org/doc/html/rfc7540#section-4.2

The size of a frame payload is limited by the maximum size that a
receiver advertises in the SETTINGS_MAX_FRAME_SIZE setting. This
setting can have any value between 2^14 (16,384) and 2^24-1
(16,777,215) octets, inclusive.

Our previous clamping to 0x3fff prevented us from writing more than
16K bytes at a time for HTTP/2.
See bug 1596576 comment 61 and bug 1596576 comment 54.

This patch doesn't change the default value of the pref, it just allows
us to experiment with a larger chunk size.

Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/73e34768a1ca Allow network.http.spdy.chunk-size to be larger than 16K r=nhnt11
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch

FWIW I tested my upload speed with the value set to 16k and 32k several times and didn't really see any consistent difference.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: