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

Do not use Instant::now when zero reset streams are configured. #537

Merged
merged 1 commit into from
May 5, 2021

Conversation

boxdot
Copy link
Contributor

@boxdot boxdot commented May 4, 2021

This allows to use h2 on wasm platforms which lack an Instant::now implementation by setting the number of streams to 0 with: h2::client::Builder::max_concurrent_reset_streams.

Resolves #511

This allows to use `h2` on wasm platforms which lack an
`Instant::now` implementation by setting the number of streams to
0 with: `h2::client::Builder::max_concurrent_reset_streams`.
@seanmonstar seanmonstar merged commit 0457065 into hyperium:master May 5, 2021
BenxiangGe pushed a commit to BenxiangGe/h2 that referenced this pull request Jul 26, 2021
…perium#537)

This allows to use `h2` on wasm platforms which lack an
`Instant::now` implementation by setting the number of streams to
0 with: `h2::client::Builder::max_concurrent_reset_streams`.
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.

Panics in browser environment
2 participants