Skip to content

Auto-port 4.1: HTTP2: Ensure HTTP2 preface is always send as first message#16642

Merged
normanmaurer merged 4 commits into
4.1from
auto-port-pr-16636-to-4.1
Apr 14, 2026
Merged

Auto-port 4.1: HTTP2: Ensure HTTP2 preface is always send as first message#16642
normanmaurer merged 4 commits into
4.1from
auto-port-pr-16636-to-4.1

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #16636 to 4.1
Cherry-picked commit: caf6f41


Motivation:

We had a race in which it was possible that we send another frame before the preface if the write happened in the ChannelListener attached to the connect promise.

Modifications:

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

Result:

Fixes #16635

Motivation:

We had a race in which it was possible that we send another frame before
the preface if the write happened in the ChannelListener attached to the
connect promise.

Modifications:

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

Result:

Fixes #16635

(cherry picked from commit caf6f41)
@normanmaurer normanmaurer merged commit 60c1c9f into 4.1 Apr 14, 2026
18 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16636-to-4.1 branch April 14, 2026 20:08
@normanmaurer normanmaurer added this to the 4.1.133.Final milestone Apr 14, 2026
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.

2 participants