Proxy
Proxy responsibilities include:
- forwarding to upstreams
- header normalization and hop-by-hop stripping
- streaming protocols (SSE / upgraded connections)
Primary file:
pkg/gateway/proxy/reverse_proxy.go(annotated: Reverse proxy)
Deep dive
- Start Here: Request lifecycle
- Guides: Auth and CORS, WebSockets limits
- Reference: Metrics
- Related source: Server, Protocol metrics