Module mitm
Available on crate features
http-full and http only.Structs§
- Default
Error Response - Default
Responseused in case the inner (egress) client of theHttpMitmRelayis erroring. - Http
Mitm Relay - A utility that can be used by MITM services such as transparent proxies, in order to relay HTTP requests and responses between a client and server, as part of a deep protocol inspection protocol (DPI) flow.
Constants§
- DEFAULT_
EAGER_ PEER_ SETTINGS_ TIMEOUT - Default hard cap on how long we wait for the upstream’s initial h2
SETTINGS frame during eager egress handshake before giving up and
treating the connection as non-compliant. Keeps adversarial /
dead-but-open peers from stalling the relay indefinitely. Override
per-instance with
HttpMitmRelay::with_eager_peer_settings_timeout.
Type Aliases§
- Default
Middleware - Default middleware used by
HttpMitmRelay, most likely you’ll want to overwrite it with custom middleware, unless you do not require MITM middleware.