caddy/internal
Mohammed Al Sahaf af716aa9fb
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:21:59 +03:00
..
filesystems filesystems 2026-08-30 15:45:16 +03:00
metrics metrics sanitization 2026-08-30 15:39:14 +03:00
testmocks
logbuffer.go logging: Adjustments to BufferedLog to keep logs in the correct order (#7257) 2025-09-15 09:29:50 -06:00
logbuffer_test.go internal: test package 2026-08-30 15:45:15 +03:00
logmarshalers.go admin: Redact sensitive request headers in API logs (#7578) 2026-04-17 14:56:42 -06:00
logmarshalers_test.go move tests of `LoggableHTTPHeader` and `LoggableStringArray` 2026-08-30 15:49:28 +03:00
logs.go internal: fix MaxSizeSubjectsListForLog off-by-one when maxToDisplay is 0 2026-08-30 18:21:59 +03:00
ranges.go caddytls,caddyhttp: Placeholders for some TLS and HTTP matchers (#6480) 2024-08-07 11:02:23 -06:00
ranges_test.go internal: fix MaxSizeSubjectsListForLog off-by-one when maxToDisplay is 0 2026-08-30 18:21:59 +03:00
sockets.go
sockets_test.go internal: test package 2026-08-30 15:45:15 +03:00