-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HEADERS frame payload non-indirect
Motivation: In previous patches we shrank the size of HTTP2Frame by making various data types indirect in the frame payload. This included HEADERS, which is unfortunte as HEADERS frames are quite common. This patch changes the layout of the HEADERS frame to remove the indirect case. Modifications: - Move END_STREAM into an OptionSet. - Turn the two optional bits into flags in the aforementioned OptionSet - Replace the properties with computed properties. - Remove the indirect case Result: HEADERS frames are cheaper.
- Loading branch information
Showing
2 changed files
with
90 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters