hyperium / h2

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

test: early server response with data #703

Closed DDtKey closed 1 year ago

DDtKey commented 1 year ago

This is normal scenario and I decided to extend test a bit.

DDtKey commented 1 year ago

And also this is preliminary change to handle NO_ERROR correctly on client side in (h2 or hyper` - ?), because currently such case causes:

hyper::Error(Body, Error { kind: Reset(StreamId(3), NO_ERROR, Remote) }

While request was handled correctly (for example, reaching max request body size) and the response was sent.