Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Bench1Conn10kRequests crash #434

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

rnro
Copy link
Contributor

@rnro rnro commented Jan 8, 2024

Motivation:

Bench1Conn10kRequests performance tester incorrectly used a NIOLoopBound to access the HTTP2StreamMultiplexer to create streams.

Modifications:

Access the multiplexer by safely obtaining a reference to the handler.

Result:

  • Bench1Conn10kRequests are not broken

@glbrntt glbrntt added the semver/none No version bump required. label Jan 8, 2024
@glbrntt glbrntt enabled auto-merge (squash) January 8, 2024 16:08
Motivation:

`Bench1Conn10kRequests` performance tester incorrectly used a `NIOLoopBound` to access the `HTTP2StreamMultiplexer` to create streams.

Modifications:

Access the multiplexer by safely obtaining a reference to the handler.

Result:

- `Bench1Conn10kRequests` are not broken

Co-authored-by: George Barnett <[email protected]>
@rnro rnro force-pushed the Bench1Conn10kRequests_sendability branch from 932bec1 to 102df9e Compare January 8, 2024 16:08
@glbrntt glbrntt merged commit d47899f into apple:main Jan 8, 2024
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants