h2 icon indicating copy to clipboard operation
h2 copied to clipboard

HTTP/2 State-Machine based protocol implementation

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

Hi there! Big fan of the project, but I have a small problem: Currently, we are using the old hyper package to make an http2 client critical to our application....

In Python 3.11, repr() was modified, this commit fixes the assertions to match the new repr() behavior. Fix #1268

[RFC 7540 § 8.3](https://tools.ietf.org/html/rfc7540#section-8.3): > In HTTP/2, the CONNECT method is used to establish a tunnel over a > single HTTP/2 stream to a remote host for similar purposes. The...

Bug
Easy

Remember the `repr()` changes in Python 3.10.0 betas that broke stuff and then were reverted last minute? They strike again in 3.11.0b1: ```pytb $ tox -e py311 GLOB sdist-make: /tmp/h2/setup.py...

Previously, RST_STREAM would be sent even when the stream closed by state was in SEND_RST_STREAM. This fix instead checks which peer closed the stream initially, and then updates the closed...

I am loving the example here https://github.com/python-hyper/h2/blob/master/examples/plain_sockets/plain_sockets_client.py I just can't seem to figure out how to be making multiple requests reusing the same connection? For example, if I wanted to...

https://github.com/python-hyper/hyper-h2/blob/3b0b241d79f5a9ff9382bbc038f84862e0d80abf/src/h2/utilities.py#L20-L26. Hi, when a python process runs with a flag `-bb`, the above part of code will throw exception and make `h2` not work. May I ask why we define...

Bug

As mentioned in #1257 I am adding initial fuzzing integration. My goal is to integrate with oss-fuzz and - personally - explore the world of fuzzing. Documentation has been provided...

RFC 7540 section 6.8 seems to indicate that traffic can continue flowing in both directions after a GOAWAY frame, with the only restriction being that the recipient can't open new...

A `CONNECT` request without a `:path` header, which *must* be omitted according to the [specification](https://tools.ietf.org/html/rfc7540#section-8.3): > The ":scheme" and ":path" pseudo-header fields MUST be omitted. Causes `ProtocolError('Header block missing mandatory...