forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
h1_fuzz.h
25 lines (18 loc) · 692 Bytes
/
h1_fuzz.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include "source/common/common/assert.h"
#include "source/common/common/logger.h"
#include "test/fuzz/fuzz_runner.h"
#include "test/integration/capture_fuzz.pb.h"
#include "test/integration/http_integration.h"
namespace Envoy {
class H1FuzzIntegrationTest : public HttpIntegrationTest {
public:
H1FuzzIntegrationTest(Network::Address::IpVersion version)
: HttpIntegrationTest(Http::CodecType::HTTP1, version) {}
void initialize() override;
void replay(const test::integration::CaptureFuzzTestCase&, bool ignore_response);
const std::chrono::milliseconds max_wait_ms_{10};
private:
Filesystem::ScopedUseMemfiles use_memfiles_{true};
};
} // namespace Envoy