caddy/caddyconfig/httpcaddyfile
Matthew Holt 1e18afb5c8
httpcaddyfile: Detect ambiguous site definitions (fix #4635)
Previously, our "duplicate key in server block" logic was flawed because
it did not account for the site's bind address. We defer this check to
when the listener addresses have been assigned, but before we commit
a server block to its listener.

Also refined how network address parsing and joining works, which was
necessary for a less convoluted fix.
2022-07-25 17:28:20 -06:00
..
addresses_fuzz.go ci: Build on Go 1.18, bump actions versions (#4637) 2022-03-15 22:09:19 +00:00
addresses_test.go httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381) 2021-10-20 10:27:59 -06:00
addresses.go httpcaddyfile: Detect ambiguous site definitions (fix #4635) 2022-07-25 17:28:20 -06:00
builtins_test.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
builtins.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
directives_test.go tests: Clean up redundant type declarations 2020-04-10 08:48:21 -06:00
directives.go reverseproxy: Support performing pre-check requests (#4739) 2022-05-06 10:50:26 -04:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
httptype.go httpcaddyfile: Detect ambiguous site definitions (fix #4635) 2022-07-25 17:28:20 -06:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
options.go httpcaddyfile: Support multiple values for default_bind (#4774) 2022-05-08 21:32:10 -04:00
pkiapp.go httpcaddyfile: Add pki app root and intermediate cert/key config (#4514) 2022-01-18 12:18:31 -07:00
serveroptions.go httpcaddyfile: Support explicitly turning off strict_sni_host (#4592) 2022-03-01 20:02:39 -05:00
tlsapp_test.go httpcaddyfile: Revise automation policy generation (#3824) 2020-10-28 20:36:00 -06:00
tlsapp.go Fix #4822 and fix #4779 2022-06-01 15:12:57 -06:00