mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-24 23:57:05 -05:00
If only one upstream is defined we don't need to buffer the body. Instead we directly stream the body to the upstream host, which reduces memory usage as well as latency. Furthermore this enables different kinds of HTTP streaming applications like gRPC for instance. |
||
---|---|---|
.. | ||
body.go | ||
body_test.go | ||
policy.go | ||
policy_test.go | ||
proxy.go | ||
proxy_test.go | ||
reverseproxy.go | ||
setup.go | ||
setup_test.go | ||
upstream.go | ||
upstream_test.go |