Files
h2/tests/h2-tests
Sean McArthur c7d4182ffe Release closed streams capacity back to connection (#334)
Previously, any streams that were dropped or closed while not having
consumed the inflight received window capacity would simply leak that
capacity for the connection. This could easily happen if a `RecvStream`
were dropped before fully consuming the data, and therefore a user would
have no idea how much capacity to release in the first place. This
resulted in stalled connections that would never have capacity again.
2018-12-05 09:44:20 -08: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