caddy/modules
wangshun edcdfa0ed8
Some checks are pending
Tests / test (./cmd/caddy/caddy, ~1.27.0, macos-latest, 0, 1.27, mac) (push) Waiting to run
Tests / test (./cmd/caddy/caddy, ~1.27.0, ubuntu-latest, 0, 1.27, linux) (push) Waiting to run
Tests / test (./cmd/caddy/caddy.exe, ~1.27.0, windows-latest, True, 1.27, windows) (push) Waiting to run
Tests / test (s390x on IBM Z) (push) Waiting to run
Tests / goreleaser-check (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, aix) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, darwin) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, dragonfly) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, freebsd) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, illumos) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, linux) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, netbsd) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, openbsd) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, solaris) (push) Waiting to run
Cross-Build / build (~1.26.0, 1.26, windows) (push) Waiting to run
Lint / lint (push) Waiting to run
Lint / lint-1 (push) Waiting to run
Lint / lint-2 (push) Waiting to run
Lint / govulncheck (push) Waiting to run
Lint / dependency-review (push) Waiting to run
OpenSSF Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
fix: v2.11.9: clearing a handler read deadline installs read_body as a hard deadline, truncating responses of requests longer than read_body (regression from #8284) (#8400)
* fix: v2.11.9: clearing a handler read deadline installs read_body as a h

Signed-off-by: wangshun <96341168+xixi-box@users.noreply.github.com>

* caddyhttp: add regression test for cleared handler deadline after terminal body

* fix(http): avoid synthetic read deadline for bodyless requests

Keep a handler-cleared read deadline cleared when net/http supplied
http.NoBody, and cover the case with an HTTP/1 regression test.

Assisted by OpenAI Codex; reviewed and approved by the author.

Signed-off-by: wangshun <96341168+xixi-box@users.noreply.github.com>

---------

Signed-off-by: wangshun <96341168+xixi-box@users.noreply.github.com>
Co-authored-by: xixi-box <xixi-box@users.noreply.github.com>
2026-11-19 17:04:44 +10:00
..
caddyevents events: tell CertMagic which events are worth emitting (#8010) 2026-10-03 01:03:20 +10:00
caddyfs events: Refactor; move Event into core, so core can emit events (#6930) 2025-03-29 08:15:43 -06:00
caddyhttp fix: v2.11.9: clearing a handler read deadline installs read_body as a hard deadline, truncating responses of requests longer than read_body (regression from #8284) (#8400) 2026-11-19 17:04:44 +10:00
caddypki acmeserver: say when the CA database is locked by another process (#8007) 2026-09-11 14:49:31 +10:00
caddytls caddytls: restore SNI conn-policy fast-path, keep first-match order (#8373) 2026-11-18 08:25:48 +00:00
filestorage caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
internal/network reverseproxy: reduce lock contention in dynamic SRV and A upstreams (#7949) 2026-11-03 08:37:50 +00:00
logging logging: filter typed string and certificate SAN arrays 2026-11-11 11:06:40 -07:00
metrics metrics: scope metrics to active config, add optional per-host metrics (#6531) 2024-10-02 08:23:26 -06:00
standard filesystem: Globally declared filesystems, fs directive (#5833) 2024-01-13 20:12:43 +00:00