1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules/caddyhttp/reverseproxy
Matthew Holt 238f1108e6
reverseproxy: Revert #4952 - don't ignore context cancellation in stream mode
i.e. Revert commit f5dce84a70

Two years ago, the patch in #4952 was a seemingly necessary way to fix an issue (sort of an edge case), but it broke other more common use cases (see #6666).

Now, as of #6669, it seems like the original issue can no longer be replicated, so we are reverting that patch, because it was incorrect anyway.

If it turns out the original issue returns, a more proper patch may be in #6669 (even if used as a baseline for a future fix). A potential future fix could be an opt-in setting.
2024-11-12 13:43:34 -07:00
..
fastcgi perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
forwardauth forwardauth: Skip copying missing response headers (#6608) 2024-11-04 14:58:53 -07:00
addresses.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
addresses_test.go reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
admin.go fix struct names (#6151) 2024-03-06 13:53:03 +00:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06:00
ascii_test.go filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00
caddyfile.go chore: Adjust incorrect reverse_proxy Caddyfile comment (#6598) 2024-10-01 10:56:30 -06:00
command.go reverseproxy: Fix panic when using header-related flags (fix #6464) 2024-07-18 21:31:07 -06:00
copyresponse.go reverseproxy: Fix double headers in response handlers (#4847) 2022-06-22 15:10:14 -04:00
healthchecks.go caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
hosts.go reverseproxy: add health_upstream subdirective (#6451) 2024-07-15 17:00:12 +00:00
httptransport.go caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
httptransport_test.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
metrics.go perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
reverseproxy.go reverseproxy: Revert #4952 - don't ignore context cancellation in stream mode 2024-11-12 13:43:34 -07:00
selectionpolicies.go reverseproxy: Allow 0 as weights for weighted_round_robin (#6681) 2024-11-07 17:58:31 -05:00
selectionpolicies_test.go reverseproxy: Allow 0 as weights for weighted_round_robin (#6681) 2024-11-07 17:58:31 -05:00
streaming.go reverseproxy: Fix log message 2024-10-21 12:19:04 -06:00
streaming_test.go reverseproxy: Add more debug logs (#5793) 2023-10-11 13:36:20 -06:00
upstreams.go perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
upstreams_test.go fixed bug in resolving ip version in dynamic upstreams (#6448) 2024-07-09 03:06:30 -04:00