0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/server
Matthew Holt 0ac8bf58ea core: Run startup/shutdown functions only once
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).
2015-08-01 13:08:31 -06:00
..
config.go core: Handle address lookup and bind errors more gracefully (fixes #136 and #164) 2015-06-23 22:01:37 -06:00
fileserver.go Fix more lint warnings 2015-05-24 22:52:34 -04:00
server.go core: Run startup/shutdown functions only once 2015-08-01 13:08:31 -06:00
virtualhost.go Bringing in latest from master; refactoring under way 2015-05-04 11:02:46 -06:00