Skip to content

HTTP2: Ensure HTTP2 preface is always send as first message (also on the server)#16667

Merged
chrisvest merged 1 commit into
4.2from
preface_bind
Apr 17, 2026
Merged

HTTP2: Ensure HTTP2 preface is always send as first message (also on the server)#16667
chrisvest merged 1 commit into
4.2from
preface_bind

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

caf6f41 introduced a fix that ensured we always send the preface as the first message on the client but didn't also fix it for the server side.

Modifications:

  • Ensure we always send the preface before we give the user a chance to write another frame.

Result:

More complete fix

…the server)

Motivation:

caf6f41 introduced a fix that ensured we always send the preface as the first message on the client but didn't also fix it for the server side.

Modifications:

- Ensure we always send the preface before we give the user a chance to write another frame.

Result:

More complete fix
@normanmaurer normanmaurer requested a review from chrisvest April 17, 2026 18:36
@normanmaurer

Copy link
Copy Markdown
Member Author

@chrisvest PTAL

@normanmaurer normanmaurer added this to the 4.2.13.Final milestone Apr 17, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Apr 17, 2026
@chrisvest chrisvest merged commit 29a19f2 into 4.2 Apr 17, 2026
39 of 40 checks passed
@chrisvest chrisvest deleted the preface_bind branch April 17, 2026 23:21
@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

@chrisvest chrisvest added needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. and removed needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Apr 17, 2026
@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

@netty-project-bot

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

@chrisvest

Copy link
Copy Markdown
Member

5.0 port #16674

@chrisvest

Copy link
Copy Markdown
Member

4.1 port #16675

@chrisvest chrisvest removed needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Apr 20, 2026
normanmaurer added a commit that referenced this pull request Apr 21, 2026
#16674)

…the server) (#16667)

Motivation:

caf6f41 introduced a fix that ensured
we always send the preface as the first message on the client but didn't
also fix it for the server side.

Modifications:

- Ensure we always send the preface before we give the user a chance to
write another frame.

Result:

More complete fix

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
normanmaurer added a commit that referenced this pull request Apr 21, 2026
#16675)

…the server) (#16667)

Motivation:

caf6f41 introduced a fix that ensured
we always send the preface as the first message on the client but didn't
also fix it for the server side.

Modifications:

- Ensure we always send the preface before we give the user a chance to
write another frame.

Result:

More complete fix

(cherry picked from commit 29a19f2)

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants