caddy/modules/caddyhttp/reverseproxy
Francis Lavoie 09b2cbcf4d
caddyhttp: Add MatchWithError to replace SetVar hack (#6596)
* caddyhttp: Add `MatchWithError` to replace SetVar hack

* Error in IP matchers on TLS handshake not complete

* Use MatchWithError everywhere possible

* Move implementations to MatchWithError versions

* Looser interface checking to allow fallback

* CEL factories can return RequestMatcherWithError

* Clarifying comment since it's subtle that an err is returned

* Return 425 Too Early status in IP matchers

* Keep AnyMatch signature the same for now

* Apparently Deprecated can't be all-uppercase to get IDE linting

* Linter
2024-11-04 23:18:50 +00: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_test.go reverseproxy: do not parse upstream address too early if it contains replaceble parts (#5695) 2023-08-05 23:30:02 +02:00
addresses.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
admin.go fix struct names (#6151) 2024-03-06 13:53:03 +00:00
ascii_test.go filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00
ascii.go reverseproxy: Sync up handleUpgradeResponse with stdlib (#4664) 2022-04-11 12:49:56 -06: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_test.go reverseproxy: Implement modular CA provider for TLS transport (#6065) 2024-04-12 07:19:14 -06:00
httptransport.go caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
metrics.go perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
reverseproxy.go caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
selectionpolicies_test.go modules: fix some typo in conments (#6206) 2024-03-30 02:45:42 +00:00
selectionpolicies.go reverseproxy: add Max-Age option to sticky cookie (#6398) 2024-06-15 07:50:31 -06:00
streaming_test.go reverseproxy: Add more debug logs (#5793) 2023-10-11 13:36:20 -06:00
streaming.go reverseproxy: Fix log message 2024-10-21 12:19:04 -06:00
upstreams_test.go fixed bug in resolving ip version in dynamic upstreams (#6448) 2024-07-09 03:06:30 -04:00
upstreams.go perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00