caddy/caddyconfig
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
..
caddyfile caddyfile: Fix comma edgecase in address parsing (#6616) 2024-10-10 20:26:59 +00:00
httpcaddyfile caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
configadapters.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
httploader.go Quell linter (false positive) 2024-04-23 11:55:37 -06:00
load.go Replace strings.Index usages with strings.Cut (#4930) 2022-08-04 11:17:35 -06:00