Skip to content

feat(http2/client): expose reset_stream_duration option#4068

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
kimjune01:feat/h2-reset-stream-duration
May 12, 2026
Merged

feat(http2/client): expose reset_stream_duration option#4068
seanmonstar merged 1 commit into
hyperium:masterfrom
kimjune01:feat/h2-reset-stream-duration

Conversation

@kimjune01

Copy link
Copy Markdown
Contributor

Summary

  • Expose h2's reset_stream_duration setting through the hyper HTTP/2 client builder
  • This allows configuring how long reset streams are retained before being evicted, useful for tuning memory usage in high-throughput HTTP/2 connections

Fixes #2599

Test plan

  • Builder method compiles and forwards to the underlying h2 configuration
  • Existing HTTP/2 tests pass unchanged
Expose the h2 client builder's reset_stream_duration setting, which
controls how long reset stream state is kept in memory. This is useful
for tuning memory usage in connections that reset many streams.

Closes hyperium#2599 (partial)

@seanmonstar seanmonstar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@seanmonstar seanmonstar merged commit 156a6f6 into hyperium:master May 12, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants