Skip to main content

Module handler

Module handler 

Source
Expand description

HTTP proxy handler and Pingora integration. Pingora ProxyHttp implementation: the main HTTP reverse-proxy handler.

Bridges Pingora’s hook-based lifecycle (request_filter, upstream_peer, upstream_request_filter, etc.) to the Praxis filter pipeline. Two handler variants exist: PingoraHttpHandler enables body filter hooks when the pipeline declares body access; PingoraHttpHandlerNoBody skips them for zero-overhead forwarding.

Each submodule implements one Pingora hook. The pipeline is held behind Arc<ArcSwap<FilterPipeline>> for lock-free hot reload.

Structs§

PingoraHttpHandler
Pingora HTTP handler that overrides body filter hooks.
PingoraHttpHandlerNoBody
Pingora HTTP handler that skips body filter hooks.

Functions§

load_http_handler
Load an HTTP handler for a single listener.