Skip to content

HTTP2: Ensure HTTP2 preface is always send as first message (#16636)#16662

Merged
chrisvest merged 1 commit into
5.0from
pre5
Apr 17, 2026
Merged

HTTP2: Ensure HTTP2 preface is always send as first message (#16636)#16662
chrisvest merged 1 commit into
5.0from
pre5

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

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
@chrisvest chrisvest added this to the 5.0.0.Final milestone Apr 17, 2026
@chrisvest chrisvest merged commit dd4d0d8 into 5.0 Apr 17, 2026
13 checks passed
@chrisvest chrisvest deleted the pre5 branch April 17, 2026 23:23
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