Skip to content

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented May 28, 2025

No description provided.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from lorban May 28, 2025 17:32
@sbordet
Copy link
Contributor Author

sbordet commented May 28, 2025

TODO: update the *.adoc files.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet marked this pull request as ready for review May 28, 2025 21:59
@sbordet
Copy link
Contributor Author

sbordet commented May 28, 2025

*.adoc files updated.

@@ -50,22 +55,20 @@ public void onRequest(HeadersFrame frame)
validateAndUpdate(EnumSet.of(FrameState.INITIAL), FrameState.HEADER);
onHeaders(frame);
updateClose(frame.isLast(), false);
listener = notifyRequest(frame);
listener = getSession().notifyRequest(frame);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can notifyRequest() return null? Should it? I find the usage of null unclear here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it can return null, as the listener is provided by user code.
In all the relevant places there are null checks.

sbordet added 3 commits May 30, 2025 23:03
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet requested a review from lorban June 4, 2025 10:22
@sbordet sbordet merged commit a464f43 into jetty-12.1.x Jun 4, 2025
10 checks passed
@sbordet sbordet deleted the fix/jetty-12.1.x/h3-newStreamListener-api branch June 4, 2025 14:02
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