• Leonard Hecker's avatar
    proxy: Added unbuffered request optimization · 8048e9c3
    Leonard Hecker authored
    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.
    8048e9c3
upstream.go 9.46 KB