GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — HTTP2: Allow to manually manage window update frames when using Http2… by normanmaurer · Pull Request #14974 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Mar 28, 2025

Copy link
Copy Markdown
Member

…StreamChannel

Motivation:

In some advanced use-cases it might be useful for the end-user to manually manage the window update frames and so have more control over the backpressure.

Modifications:

  • Add a new Http2StreamChannelOption that allows to configure that window update frames will be send manually and adjust channel implementation to allow it
  • Add test case

Result:

Fixes #14945

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

trnguyencflt reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@normanmaurer
HTTP2: Allow to manually manage window update frames when using Http2…
9728ce5
…StreamChannel

Motivation:

In some advanced use-cases it might be useful for the end-user to manually manage the window update frames and so have more control over the backpressure.

Modifications:

- Add a new Http2StreamChannelOption that allows to configure that window update frames will be send manually and adjust channel implementation to allow it
- Add test case

Result:

Fixes #14945
@normanmaurer
normanmaurer requested review from bryce-anderson, chrisvest and idelpivnitskiy March 28, 2025 10:19
@normanmaurer

normanmaurer commented Mar 28, 2025

Copy link
Copy Markdown
Member Author

/cc @vietj

vietj reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer mentioned this pull request Mar 28, 2025
Send WINDOW_UPDATE frame manually in child channel of Http2MultiplexHandler #14945
Closed
@vietj

vietj commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

interesting thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

yawkat
yawkat approved these changes Mar 28, 2025
View reviewed changes
Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer @yawkat
Update codec-http2/src/main/java/io/netty/handler/codec/http2/Abstrac…
1ef081c
…tHttp2StreamChannel.java

Co-authored-by: Jonas Konrad <[email protected]>
trnguyencflt
trnguyencflt approved these changes Mar 28, 2025
View reviewed changes

@trnguyencflt trnguyencflt left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM, thanks for introducing this option 👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
idelpivnitskiy
idelpivnitskiy approved these changes Mar 28, 2025
View reviewed changes
Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

vietj
vietj reviewed Mar 28, 2025
View reviewed changes
Comment thread codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

bryce-anderson
bryce-anderson approved these changes Mar 28, 2025
View reviewed changes

@bryce-anderson bryce-anderson left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks good other than a few questions, none of which necessarily need to be addressed (here, or maybe ever).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/Http2StreamChannelOption.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

normanmaurer added 3 commits March 29, 2025 09:35
@normanmaurer
Address comments
a570d26
@normanmaurer
Ensure we send window update frames when switcing flow control mode
89cefef
@normanmaurer
Adjust naming
53deba1
@normanmaurer
normanmaurer requested a review from vietj March 31, 2025 12:46
bryce-anderson
bryce-anderson approved these changes Mar 31, 2025
View reviewed changes
@normanmaurer
normanmaurer merged commit 35cf6ec into 4.1 Apr 1, 2025
@normanmaurer
normanmaurer deleted the manual_windowupdate branch April 1, 2025 06:38
normanmaurer added a commit that referenced this pull request Apr 1, 2025
@normanmaurer @yawkat
HTTP2: Allow to manually manage window update frames when using Http2… (
b3f0a14
#14974)

…StreamChannel

Motivation:

In some advanced use-cases it might be useful for the end-user to
manually manage the window update frames and so have more control over
the backpressure.

Modifications:

- Add a new Http2StreamChannelOption that allows to configure that
window update frames will be send manually and adjust channel
implementation to allow it
- Add test case

Result:

Fixes #14945

---------

Co-authored-by: Jonas Konrad <[email protected]>
@normanmaurer normanmaurer mentioned this pull request Apr 1, 2025
HTTP2: Allow to manually manage window update frames when using Http2… #14980
Merged
normanmaurer added a commit that referenced this pull request Apr 1, 2025
@normanmaurer @yawkat
HTTP2: Allow to manually manage window update frames when using Http2… (
e5b8aa0
#14980)

…… (#14974)

…StreamChannel

Motivation:

In some advanced use-cases it might be useful for the end-user to
manually manage the window update frames and so have more control over
the backpressure.

Modifications:

- Add a new Http2StreamChannelOption that allows to configure that
window update frames will be send manually and adjust channel
implementation to allow it
- Add test case

Result:

Fixes #14945

Co-authored-by: Jonas Konrad <[email protected]>
normanmaurer added a commit that referenced this pull request Apr 1, 2025
@normanmaurer @yawkat
HTTP2: Allow to manually manage window update frames when using Http2… (
fa3c602
#14974)

…StreamChannel

Motivation:

In some advanced use-cases it might be useful for the end-user to
manually manage the window update frames and so have more control over
the backpressure.

Modifications:

- Add a new Http2StreamChannelOption that allows to configure that
window update frames will be send manually and adjust channel
implementation to allow it
- Add test case

Result:

Fixes #14945

---------

Co-authored-by: Jonas Konrad <[email protected]>
This was referenced Sep 14, 2026
Http2: Reserve promised stream for PUSH_PROMISE after local RST_STREAM #17471
Closed
cache failure 1233e4a5 #17565
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yawkat yawkat yawkat approved these changes
@idelpivnitskiy idelpivnitskiy idelpivnitskiy approved these changes
@bryce-anderson bryce-anderson bryce-anderson approved these changes
@chrisvest chrisvest Awaiting requested review from chrisvest
@vietj vietj Awaiting requested review from vietj
+1 more reviewer
@trnguyencflt trnguyencflt trnguyencflt approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Send WINDOW_UPDATE frame manually in child channel of Http2MultiplexHandler

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@normanmaurer @vietj @yawkat @bryce-anderson @idelpivnitskiy @trnguyencflt
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.