caddy/config
Matthew Holt 38719765bf Don't share sync.Once with all directives
If each server block had only one sync.Once then all directives would refer to it and only the first directive would be able to use it! So this commit changes it to a map of sync.Once instances, keyed by directive. So by creating a new map for every server block, each directive in that block can get its own sync.Once which is exactly what is needed. They won't step on each other this way.
2015-10-19 07:41:58 -06:00
..
parse Epic revert of 0ac8bf5 and adding OncePerServerBlock 2015-10-19 07:41:58 -06:00
setup Don't share sync.Once with all directives 2015-10-19 07:41:58 -06:00
config_test.go core: Bind all listeners to wildcard host by default (closes #208) 2015-08-05 07:37:51 -06:00
config.go Don't share sync.Once with all directives 2015-10-19 07:41:58 -06:00
directives.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00