curl-fuzzer C++ reference
Loading...
Searching...
No Matches
h2_proxy_mock_server.h File Reference

Deterministic HTTPS/HTTP2 proxy for structured scenarios. More...

Go to the source code of this file.

Classes

class  proto_fuzzer::H2ProxyMockServer
 Reuses MockServer's bounded raw response script as decrypted HTTP/2 proxy frames. More...

Enumerations

enum class  proto_fuzzer::H2ProxyMode { kTunnel , kForward }
 Origin-request shape carried by the fixed HTTPS/HTTP2 proxy transport. More...

Detailed Description

Deterministic HTTPS/HTTP2 proxy for structured scenarios.

Definition in file h2_proxy_mock_server.h.

Enumeration Type Documentation

◆ H2ProxyMode

enum class proto_fuzzer::H2ProxyMode
strong

Origin-request shape carried by the fixed HTTPS/HTTP2 proxy transport.

Enumerator
kTunnel 

Establish CONNECT, then carry a plaintext HTTP/1.1 origin exchange.

kForward 

Submit an absolute-form origin request directly as an HTTP/2 stream.

Definition at line 18 of file h2_proxy_mock_server.h.