mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
f70a7578fa
From reading through the code, I think this code path is now obsoleted by the changes made in https://github.com/caddyserver/caddy/pull/4266. Basically, `h.flushInterval()` will set the flush interval to `-1` if we're in a bi-directional stream, and the recent PR ensured that `h.copyResponse()` properly flushes headers immediately when the flush interval is non-zero. So now there should be no need to call Flush before calling `h.copyResponse()`. |
||
---|---|---|
.. | ||
fastcgi | ||
admin.go | ||
caddyfile.go | ||
command.go | ||
healthchecks.go | ||
hosts.go | ||
httptransport.go | ||
reverseproxy.go | ||
selectionpolicies.go | ||
selectionpolicies_test.go | ||
streaming.go | ||
streaming_test.go |