caddy/modules/caddyhttp
Mohammed Al Sahaf 9e6e892bd0
caddyhttp: call StaticIPRange.Provision directly in tests
TestStaticIPRangeProvision was re-implementing Provision's loop
instead of calling it. The real Provision only touches the Ranges
field, so a zero-value caddy.Context is enough to exercise it.

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-08-30 18:38:16 +03:00
..
caddyauth add caddyauth tests 2026-08-30 15:49:28 +03:00
encode add compression tests 2026-08-30 15:49:28 +03:00
fileserver fileserver: reject short names in every path component (#7952) 2026-08-28 09:09:23 +00:00
headers
intercept remove test of method no longer available on `master` 2026-08-30 15:49:28 +03:00
logging add `log_append` tests 2026-08-30 15:49:28 +03:00
map
proxyprotocol add tests for proxyprotocol policy parsing 2026-08-30 15:49:28 +03:00
push test push handler 2026-08-30 15:49:28 +03:00
requestbody add request_body tests 2026-08-30 15:49:28 +03:00
reverseproxy remove tests of methods no longer available on `master` 2026-08-30 16:07:24 +03:00
rewrite remove tests of methods no longer available on `master` 2026-08-30 16:07:24 +03:00
standard caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
templates add frontmatter tests 2026-08-30 15:49:28 +03:00
timeouts caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
tracing tracing: fix BatchSpanProcessor goroutine leak on config reload (#7826) 2026-06-18 11:42:58 -06:00
app.go caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
app_test.go caddyhttp: log recovered handler panics at ERROR level (#7924) 2026-08-10 02:18:17 -04:00
autohttps.go tls: add alpn to managed HTTPS records (#7653) 2026-05-10 13:10:29 +10:00
autohttps_test.go tls: add alpn to managed HTTPS records (#7653) 2026-05-10 13:10:29 +10:00
caddyhttp.go
caddyhttp_test.go
celmatcher.go build(deps): bump cel-go from v0.28.1 to v0.29.2 (#7872) 2026-07-12 09:17:08 +10:00
celmatcher_test.go caddyhttp: add URL pattern request matcher (#7787) 2026-06-22 10:25:43 -06:00
errors.go caddyhttp: fix randString sameCase dictionary to match its docs 2026-08-30 18:23:09 +03:00
errors_test.go caddyhttp: error handling 2026-08-30 15:45:15 +03:00
errors_utils_test.go caddyhttp: fix randString sameCase dictionary to match its docs 2026-08-30 18:23:09 +03:00
http2listener.go chore: clean up wording and typo fixes (#7745) 2026-05-20 16:36:30 +10:00
httpredirectlistener.go chore: clean up wording and typo fixes (#7745) 2026-05-20 16:36:30 +10:00
httpredirectlistener_test.go test `firstBytesLookLikeHTTP` func 2026-08-30 15:49:28 +03:00
idletimeout.go caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
idletimeout_test.go caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
invoke.go
ip_matchers.go
ip_range.go
ip_range_test.go caddyhttp: call StaticIPRange.Provision directly in tests 2026-08-30 18:38:16 +03:00
logging.go
marshalers.go
marshalers_test.go move tests of `LoggableHTTPHeader` and `LoggableStringArray` 2026-08-30 15:49:28 +03:00
matchers.go caddyhttp: use canonical header key casing to avoid re-canonicalization (#7911) 2026-07-30 20:40:35 +10:00
matchers_test.go caddyhttp: fix path_regexp (MatchPathRE) Windows backslash bypass (#7858) 2026-07-11 08:37:44 +10:00
metrics.go
metrics_test.go
replacer.go caddyhttp: allocate the request UUID lazily instead of on every request (#7936) 2026-08-11 21:21:33 +10:00
replacer_test.go caddyhttp: allocate the request UUID lazily instead of on every request (#7936) 2026-08-11 21:21:33 +10:00
responsematchers.go
responsematchers_test.go
responsewriter.go
responsewriter_test.go
routes.go chore: Fix golangci-lint 2.12.1 findings (#7690) 2026-05-07 03:40:26 -04:00
server.go caddyhttp: mitigate slowloris via idle read/write deadlines (#7913) 2026-08-21 21:17:26 -06:00
server_test.go Merge commit from fork 2026-08-11 08:00:15 -06:00
staticerror.go
staticerror_test.go http: static_error 2026-08-30 15:45:15 +03:00
staticresp.go chore: fix sabotage spelling in nolint comments (#7892) 2026-07-18 08:14:38 +00:00
staticresp_test.go
subroute.go
urlpatternmatcher.go caddyhttp: fix url_pattern authorization bypass via encoded-slash traversal (#7941) 2026-08-15 10:38:20 -06:00
urlpatternmatcher_test.go caddyhttp: fix url_pattern authorization bypass via encoded-slash traversal (#7941) 2026-08-15 10:38:20 -06:00
vars.go caddyhttp: Clean up variable scope in vars matcher 2026-06-20 13:45:10 -06:00
vars_test.go http: test vars 2026-08-30 15:49:27 +03:00