Fix fuzzing of client sending to not fail on user errors (#533)

This commit is contained in:
Sean McArthur
2021-04-22 14:54:26 -07:00
committed by GitHub
parent 9c7f47af95
commit 35699e721a

View File

@@ -21,7 +21,10 @@ async fn fuzz_entry(inp: HttpSpec) {
.await
.unwrap();
let (_, _) = client.send_request(req, true).unwrap();
// this could still trigger a user error:
// - if the uri isn't absolute
// - if the header name isn't allowed in http2 (like connection)
let _ = client.send_request(req, true);
}
}