Files
h2/tests/h2-tests
Erèbe - Romain Gerard b0f54d80f2 Use RST_STREAM(NO_ERROR) in case server early respond (#633) (#634)
Http2 Server are allowed to early respond without fully
  consuming client input stream, but must respond with an
  error code of NO_ERROR when sending RST_STREAM.
  Nginx treat any other error code as fatal if not done so

  Commit change error code from CANCEL to NO_ERROR, when the
  server is early responding to the client

  https://github.com/hyperium/h2/issues/633
  https://trac.nginx.org/nginx/ticket/2376
2022-08-15 14:08:56 -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