caddy/modules/caddyhttp/fileserver
D'Ali Ben Macha 17961e998e
fileserver: handle empty files in size try policies (#8322)
Use the chosen file info, not a zero size, to tell whether a candidate
was chosen, so smallest_size keeps an empty file and largest_size can
choose one.

(cherry picked from commit cce035d7ad)
2026-11-03 18:21:22 -05:00
..
testdata
…
browse.go fileserver: apply hide rules to browse entries and sidecars (#8155) 2026-11-03 00:53:03 -05:00
browse.html browse: Update Caddy logo 2026-06-20 13:45:10 -06:00
browsetplcontext.go fileserver: return an empty listing for offsets past the end (#8213) 2026-11-03 00:53:18 -05:00
browsetplcontext_bench_test.go fileserver: speed up directory browsing for large directories (#7903) 2026-08-01 00:38:04 +10:00
browsetplcontext_test.go fileserver: return an empty listing for offsets past the end (#8213) 2026-11-03 00:53:18 -05:00
caddyfile.go fileserver: reject non-integer browse file_limit (#7988) 2026-09-04 16:37:02 +10:00
command.go
…
matcher.go fileserver: handle empty files in size try policies (#8322) 2026-11-03 18:21:22 -05:00
matcher_test.go fileserver: handle empty files in size try policies (#8322) 2026-11-03 18:21:22 -05:00
staticfiles.go fileserver: hide the data directory when it is relative (#8327) 2026-11-03 00:53:50 -05:00
staticfiles_hide_test.go fileserver: hide the data directory when it is relative (#8327) 2026-11-03 00:53:50 -05:00
staticfiles_test.go fileserver: treat a path below a regular file as not found (#8131) 2026-11-03 00:52:58 -05:00
staticfiles_windows_test.go fileserver: reject short names in every path component (#7952) 2026-08-28 09:09:23 +00:00