diff options
author | Francis Lavoie <lavofr@gmail.com> | 2021-08-23 13:54:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 11:54:28 -0600 |
commit | f70a7578faa1ab9169bc05a121911bf33d7d3da3 (patch) | |
tree | 5aa67acf0d5bec0b3eeddaa2509a0a064e27971f /caddytest/integration/caddyfile_adapt/tls_acme_preferred_chains.txt | |
parent | 51f125bd44be41d6220f0c134b6a402a85f80ad6 (diff) |
reverseproxy: Remove redundant flushing (#4299)
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()`.
Diffstat (limited to 'caddytest/integration/caddyfile_adapt/tls_acme_preferred_chains.txt')
0 files changed, 0 insertions, 0 deletions