caddy/config/parse
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
..
dispenser_test.go NextBlock() doesn't enter an empty block 2015-05-07 13:10:00 -06:00
dispenser.go Fixed import command, added tests 2015-07-07 22:38:48 -06:00
import_test1.txt Fixed import command, added tests 2015-07-07 22:38:48 -06:00
import_test2.txt Fixed import command, added tests 2015-07-07 22:38:48 -06:00
lexer_test.go lexer: Fixed backslashes in quoted strings (closes #65) 2015-05-08 10:32:57 -06:00
lexer.go Fixed import command, added tests 2015-07-07 22:38:48 -06:00
parse_test.go Added tests for allTokens 2015-05-21 15:42:49 -06:00
parse.go core: Run startup/shutdown functions only once 2015-08-01 13:08:31 -06:00
parsing_test.go core: Run startup/shutdown functions only once 2015-08-01 13:08:31 -06:00
parsing.go core: Run startup/shutdown functions only once 2015-08-01 13:08:31 -06:00