Skip to content

Set connection target window size#166

Open
glbrntt wants to merge 1 commit intogrpc:mainfrom
glbrntt:window-size
Open

Set connection target window size#166
glbrntt wants to merge 1 commit intogrpc:mainfrom
glbrntt:window-size

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Mar 25, 2026

Motivation:

Prior to swift-nio-http2 1.42.0 setting the target window size set both the connection and stream target window size.

As of 1.42.0 the target window sizes for connection and stream are set separately. In gRPC we only have one option for configuring the window size which now only sets the stream window size, this is a slight behaviour change and we should restore the previous behaviour.

In the fullness of time we should offer separate config options for stream and connection window sizes.

Modifications:

  • Set the target window size on the connection and stream

Result:

Previous behaviour is restored

Motivation:

Prior to swift-nio-http2 1.42.0 setting the target window size set both
the connection and stream target window size.

As of 1.42.0 the target window sizes for connection and stream are set
separately. In gRPC we only have one option for configuring the window
size which now only sets the stream window size, this is a slight
behaviour change and we should restore the previous behaviour.

In the fullness of time we should offer separate config options for
stream and connection window sizes.

Modifications:

- Set the target window size on the connection and stream

Result:

Previous behaviour is restored
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Mar 25, 2026
@glbrntt glbrntt requested a review from gjcairo March 25, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant