1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules/caddyhttp/reverseproxy
Francis Lavoie f70a7578fa
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()`.
2021-08-23 11:54:28 -06:00
..
fastcgi caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207) 2021-06-17 09:59:08 -06:00
admin.go reverseproxy: Admin endpoint for reporting upstream statuses (#4125) 2021-04-21 13:43:34 -06:00
caddyfile.go logging: Warn for deprecated single_field encoder 2021-08-17 10:51:26 -06:00
command.go chore: Fix typo in reverse-proxy subcommand help message (#3513) 2020-06-22 00:40:54 -04:00
healthchecks.go reverseproxy: Keep path to unix socket as dial address (#4232) 2021-07-06 23:43:45 -04:00
hosts.go reverseproxy: Fix dial placeholders, SRV, active health checks (#3780) 2020-10-13 10:35:20 -06:00
httptransport.go Some misc. cleanup 2021-06-16 14:29:42 -06:00
reverseproxy.go reverseproxy: Remove redundant flushing (#4299) 2021-08-23 11:54:28 -06:00
selectionpolicies.go reverseproxy: fix hash selection policy (#4137) 2021-04-29 10:52:22 -06:00
selectionpolicies_test.go reverseproxy: Minor logging improvements 2021-05-05 14:52:24 -06:00
streaming.go reverseproxy: Incorporate latest proxy changes from stdlib (#4266) 2021-08-12 10:48:24 -06:00
streaming_test.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00