caddy/config/parse
Matthew Holt f3596f734d Epic revert of 0ac8bf5 and adding OncePerServerBlock
Turns out having each server block share a single server.Config during initialization when the Setup functions are being called was a bad idea. Sure, startup and shutdown functions were only executed once, but they had no idea what their hostname or port was. So here we revert to the old way of doing things where Setup may be called multiple times per server block (once per host associated with the block, to be precise), but the Setup functions now know their host and port since the config belongs to exactly one virtualHost. To have something happen just once per server block, use OncePerServerBlock, a new function available on each Controller.
2015-10-19 07:41:58 -06:00
..
dispenser_test.go NextBlock() doesn't enter an empty block 2015-05-07 13:10:00 -06:00
dispenser.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04: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 Epic revert of 0ac8bf5 and adding OncePerServerBlock 2015-10-19 07:41:58 -06:00
parsing_test.go Epic revert of 0ac8bf5 and adding OncePerServerBlock 2015-10-19 07:41:58 -06:00
parsing.go Epic revert of 0ac8bf5 and adding OncePerServerBlock 2015-10-19 07:41:58 -06:00