hyperium / h2

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

fix: properly reject prioritized HEADERS with stream ID of zero #578

Closed seanmonstar closed 2 years ago

seanmonstar commented 2 years ago

I don't love that this doesn't include a test... But, the test is exactly the same as in https://github.com/hyperium/h2/pull/571, but just with the stream ID changed to 0. Seemed like a waste to include duplicate tests...