caddy/caddyconfig/httpcaddyfile
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
..
testdata caddyfile: Do not replace import tokens if they are part of a snippet (#5539) 2023-05-22 15:36:55 -06:00
addresses.go core: addresses.go funcs renames (#6622) 2024-10-21 08:02:29 -06:00
addresses_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
addresses_test.go httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381) 2021-10-20 10:27:59 -06:00
builtins.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
builtins_test.go logging: Customizable zap cores (#6381) 2024-06-10 09:03:24 -06:00
directives.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
directives_test.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
httptype.go caddyhttp: Add MatchWithError to replace SetVar hack (#6596) 2024-11-04 23:18:50 +00:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
options.go metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
pkiapp.go caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
serveroptions.go metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
shorthands.go caddyhttp: New experimental handler for intercepting responses (#6232) 2024-05-13 17:38:18 +00:00
tlsapp.go httpcaddyfile: Fixes for prefer_wildcard mode (#6636) 2024-10-30 17:09:12 +00:00
tlsapp_test.go caddytls: Eval replacer on automation policy subjects (#5459) 2023-03-27 21:16:22 +00:00