mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
0ac8bf58ea
Even if defined for multiple hosts. Startup or shutdown callbacks registered by any directive (startup, shutdown, markdown, git, log, etc.) will only run as many times as it appears in the Caddyfile, not repeated for each host that shares that server block. Fixing this involved refactoring three packages (yeesh) and we need to restore some tests that are no longer valid (that used to verify splitting a multiServerBlock into multiple serverBlocks). |
||
---|---|---|
.. | ||
dispenser.go | ||
dispenser_test.go | ||
import_test1.txt | ||
import_test2.txt | ||
lexer.go | ||
lexer_test.go | ||
parse.go | ||
parse_test.go | ||
parsing.go | ||
parsing_test.go |