Files
h2/tests/h2-tests
Sean McArthur ab6f148ee1 Fix potential hang if extensions contain same StreamRef
If a user stored a `StreamRef` to the same stream in the request or
response extensions, they would be dropped while the internal store lock
was held. That would lead to a deadlock, since dropping a stream ref
will try to take the store lock to clean up.

Clear extensions of Request and Response before locking store, prevent
this.

Fixes hyperium/hyper#2621
2021-08-20 14:44:08 -07:00
..
2018-05-10 14:48:02 -07:00

h2 integration tests

This crate includes the h2 integration tests. These tests exist in a separate crate because they transitively depend on the unstable feature flag via h2-support. Due to a cargo limitation, if these tests existed as part of the h2 crate, it would require that h2-support be published to crates.io and force the unstable feature flag to always be on.

Setup

Install honggfuzz for cargo:

cargo install honggfuzz

Running

From within this directory, run the following command:

HFUZZ_RUN_ARGS="-t 1" cargo hfuzz run h2-fuzz