SIGN IN SIGN UP
caddyserver / caddy UNCLAIMED

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

0 0 104 Go

root: introduce down-propagating Helper.BlockState for other directives/plugins to use (#7594)

* add 'root' key to Helper.State for access in frankenphp's `php_server` directive

* clone state before passing it to child directives, but keep sharing it among sibling directives

* propagate named route state from children to parent

* use BlockState to set "root" instead

* gofmt -w .

* go fmt ./...

* here we go
M
Marc committed
62e9c052648f36a34d7d26400ee7118534ae0ff3
Parent: 6f6771a
Committed by GitHub <noreply@github.com> on 3/28/2026, 5:44:42 PM