hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.34k stars 265 forks source link

Allow max_concurrent_reset_streams>0 on browser environments #779

Open Mubelotix opened 1 month ago

Mubelotix commented 1 month ago

I'm willing to set max_concurrent_reset_streams to a value higher than 0. In browser environments, this causes h2 to panic (see #511).

I'm willing to work on this issue. I could add a web feature enabling the optional instant dependency and being used instead of std::time::Instant to provide time. #511 was closed by a temporary fix.