v2.9.1

caddyserver/caddyv2.9.1Jan 8, 2025by github-actions[bot]

AI Summary

A patch release fixing bugs related to FastCGI buffering, HTTP/3 on Unix sockets, log file permissions, and signal handling.

Key Highlights

  • FastCGI requests are now buffered by default.
  • HTTP/3 is disabled for Unix domain sockets to prevent crashes.
  • Improved log file permission handling.
  • Added `match` subdirective for response matching in the `header` directive.

New Features

  • Response matching support in the `header` directive.

Full Release Notes

This is a patch release fixing a few issues related to FastCGI, HTTP/3 and unix sockets, log file permissions, repeated TERM signals, and an ARI edge case. It also adds Caddyfile support for response matching in the `header` directive.

Thanks to everyone who reported bugs and helped with fixes!

## Changelog
* 34cff4af7db1365bba6decc647ccfb6bf1b21afd core: Only initiate exit once (should fix #6707)
* 50778b55425d378f709599c0d424b0138af592f4 fix: disable h3 for unix domain socket (#6769)
* 0e570e0cc717f02cf3800ae741df70cd074c7275 go.mod: Upgrade CertMagic to 0.21.6 (fix ARI handshake maintenance)
* e48b75843b7eff2948b573391fb41535b5e333ef header: `match` subdirective for response matching (#6765)
* 1f927d6b07d52d7cf46f1f3020c1ea5993a3e5e8 log: Only chmod if permission bits differ; make log dir (#6761)
* 1bd567d7ad41d5509e2aa60cf36e749f195ad83c reverseproxy: buffer requests for fastcgi by default (#6759)

## What's Changed
* reverse proxy: fastcgi buffer requests for fastcgi by default by @WeidiDeng in https://github.com/caddyserver/caddy/pull/6759
* fix: disable h3 for unix domain socket by @Geun-Oh in https://github.com/caddyserver/caddy/pull/6769
* log: Only chmod if permission bits differ by @mholt in https://github.com/caddyserver/caddy/pull/6761
* header: `match` subdirective for response matching by @lilnasy in https://github.com/caddyserver/caddy/pull/6765

## New Contributors
* @Geun-Oh made their first contribution in https://github.com/caddyserver/caddy/pull/6769
* @lilnasy made their first contribution in https://github.com/caddyserver/caddy/pull/6765

**Full Changelog**: https://github.com/caddyserver/caddy/compare/v2.9.0...v2.9.1