h2 icon indicating copy to clipboard operation
h2 copied to clipboard

HTTP 2.0 client & server implementation for Rust.

Results 86 h2 issues
Sort by recently updated
recently updated
newest added

Hello, I am reporting an issue I have encountered while using tonic grpc server (v0.8.0). We use nginx as a GRPC reverse proxy and hit the following corner case. Full...

Http2 Server are allowed to early respond without fully consuming client input stream, but must respond with an error code of NO_ERROR when sending RST_STREAM. Nginx treat any other error...

This fixes connections where paths to UNIX domain sockets (`*.sock`) are provided or the authority is empty. Refers to https://github.com/hyperium/tonic/issues/243, https://github.com/cri-o/cri/issues/34

This proposes adding an option to the `h2::server::Builder` config such that it sends the [ORIGIN](https://www.rfc-editor.org/rfc/rfc8336.html) frame to connections. - A method `origin` is added to the h2::server::Builder` struct. - We...

https://github.com/hyperium/h2/blob/756384f4cdd62bce3af7aa53a156ba2cc557b5ec/src/proto/streams/counts.rs#L164-L168 There may still leave some bytes releated to the stream in https://github.com/hyperium/h2/blob/756384f4cdd62bce3af7aa53a156ba2cc557b5ec/src/proto/streams/recv.rs#L52 when `Counts` remove a closed `Stream`. This may cause mem leak, Should we remove bytes releated to...

If I start an HTTP2 service as follows, the local_init_window_sz will be set to 32767 when a new connection is established. Before client receive the server initial settings frame of...

Sometimes, under active IO poll_capacity returns Poll(Ready(Some(0))). In this situation there is not much caller can do to wait for the capacity becomes available. It appears to be a concurrency/timing...

``` Application Specific Information: assertion failed: self.window_size >= sz as usize Thread 0 Crashed: 0 std 0x5616f493ed64 std::sys_common::backtrace::__rust_end_short_backtrace (backtrace.rs:139) 1 0x5616f49407e9 rust_begin_unwind (panicking.rs:498) 2 core 0x5616f3628131 core::panicking::panic_fmt (panicking.rs:107) 3 core...

FIX: https://github.com/hyperium/h2/issues/621