mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 17:56:34 +08:00
8048e9c3bc
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_test.go | ||
body.go | ||
policy_test.go | ||
policy.go | ||
proxy_test.go | ||
proxy.go | ||
reverseproxy.go | ||
setup_test.go | ||
setup.go | ||
upstream_test.go | ||
upstream.go |