Skip to content

Conversation

@shinrich
Copy link
Member

@shinrich shinrich commented Sep 6, 2019

Another variant of PR #5897 which reduced the copies made while creating HTTP/2 frames. That PR eliminated both extra copies by there was always a separate small SSL record corresponding to the HTTP2 frame header.

This PR leaves one copy so the HTTP2 frame header and the frame contents are in the same IOBlock. There may still be some small records if the HTTP2 frame size is close to the SSL record size.

HTTP/1.1 has an easier time for a bulk download with the SSL records, since the SSL writing logic will just chop up the long stream. In the case of H2, we must divide things into H2 frames and then potentially divide those into SSL records.

@shinrich shinrich added the HTTP/2 label Sep 6, 2019
@shinrich shinrich added this to the 10.0.0 milestone Sep 6, 2019
@shinrich shinrich requested a review from masaori335 September 6, 2019 18:12
@shinrich shinrich self-assigned this Sep 6, 2019
@masaori335
Copy link
Contributor

#6337 covers this.

@masaori335 masaori335 closed this Feb 5, 2020
@zwoop zwoop removed this from the 10.0.0 milestone Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants