caddy/internal
Mohammed Al Sahaf 6b96837eb9
internal: fix MaxSizeSubjectsListForLog off-by-one when maxToDisplay is 0
The loop appended before checking the length, so with maxToDisplay=0
one domain leaked into the output before the break check. Reorder so
the length check comes first.

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-08-30 18:42:03 +03:00
..
filesystems events: Refactor; move Event into core, so core can emit events (#6930) 2025-03-29 08:15:43 -06:00
metrics move common metrics-related funcs to internal package 2022-01-25 15:07:17 -05:00
testmocks caddytls: verifier: caddyfile: re-add Caddyfile support (#6127) 2024-02-26 00:13:48 +03:00
logbuffer.go logging: Adjustments to BufferedLog to keep logs in the correct order (#7257) 2025-09-15 09:29:50 -06:00
logmarshalers.go admin: Redact sensitive request headers in API logs (#7578) 2026-04-17 14:56:42 -06:00
logs.go internal: fix MaxSizeSubjectsListForLog off-by-one when maxToDisplay is 0 2026-08-30 18:42:03 +03:00
logs_test.go internal: fix MaxSizeSubjectsListForLog off-by-one when maxToDisplay is 0 2026-08-30 18:42:03 +03:00
ranges.go caddytls,caddyhttp: Placeholders for some TLS and HTTP matchers (#6480) 2024-08-07 11:02:23 -06:00
sockets.go ci: Use gofumpt to format code (#5707) 2023-08-07 19:40:31 +00:00