Skip to content

Fire the QuicChannel datagram extension event before the channel becomes active#16425

Merged
normanmaurer merged 1 commit into
netty:4.2from
vietj:fire-datagram-extension-event-before-quic-channel-becomes-active
Mar 10, 2026
Merged

Fire the QuicChannel datagram extension event before the channel becomes active#16425
normanmaurer merged 1 commit into
netty:4.2from
vietj:fire-datagram-extension-event-before-quic-channel-becomes-active

Conversation

@vietj
Copy link
Copy Markdown
Contributor

@vietj vietj commented Mar 8, 2026

Motivation:

The QuicheQuicChannel implementation fires the datagram extension event after the channel becomes active.

In addition this event is optional, implying there is no trival way to determine than the extension is available when the channel becomes active and is supposed to be functionnal at this moment.

Modification:

Fire the datagram extension event before the channel becomes active.

Result:

When the QuicChannel becomes active, handlers are fully aware whether the channel extension is available and will have the knowledge of the max datagram len.

…mes active.

Motivation:

The QuicheQuicChannel implementation fires the datagram extension event after the channel becomes active.

In addition this event is optional, implying there is no trival way to determine than the extension is available when the channel becomes active and is supposed to be functionnal at this moment.

Modification:

Fire the datagram extension event before the channel becomes active.

Result:

When the QuicChannel becomes active, handlers are fully aware whether the channel extension is available and will have the knowledge of the max datagram len.
@normanmaurer normanmaurer added this to the 4.2.11.Final milestone Mar 10, 2026
@normanmaurer normanmaurer added the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Mar 10, 2026
@normanmaurer normanmaurer merged commit 9582540 into netty:4.2 Mar 10, 2026
20 of 21 checks passed
@netty-project-bot
Copy link
Copy Markdown
Contributor

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

normanmaurer pushed a commit that referenced this pull request Mar 10, 2026
…mes active (#16425)

Motivation:

The `QuicheQuicChannel` implementation fires the datagram extension
event after the channel becomes active.

In addition this event is optional, implying there is no trival way to
determine than the extension is available when the channel becomes
active and is supposed to be functionnal at this moment.

Modification:

Fire the datagram extension event before the channel becomes active.

Result:

When the `QuicChannel` becomes active, handlers are fully aware whether
the channel extension is available and will have the knowledge of the
max datagram len.
@normanmaurer
Copy link
Copy Markdown
Member

Opened #16431

normanmaurer added a commit that referenced this pull request Mar 11, 2026
…mes active (#16425) (#16431)

Motivation:

The `QuicheQuicChannel` implementation fires the datagram extension
event after the channel becomes active.

In addition this event is optional, implying there is no trival way to
determine than the extension is available when the channel becomes
active and is supposed to be functionnal at this moment.

Modification:

Fire the datagram extension event before the channel becomes active.

Result:

When the `QuicChannel` becomes active, handlers are fully aware whether
the channel extension is available and will have the knowledge of the
max datagram len.

---------

Co-authored-by: Julien Viet <[email protected]>
@chrisvest chrisvest removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Mar 12, 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.

4 participants