caddy/config/setup
Matthew Holt e0fdddc73f 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-15 00:07:26 -06:00
..
testdata Added test on markdown static files generation 2015-07-29 16:21:35 +02:00
basicauth_test.go Fix format verbs for funcs 2015-09-10 19:59:19 -07:00
basicauth.go basicauth: htpasswd path now relative to site root 2015-09-05 16:04:30 -06:00
bindhost.go Rename bindaddr to just bind 2015-05-04 22:58:08 -07:00
browse.go allow consecutive spaces for browse 2015-10-07 19:16:49 +03:00
controller.go Don't share sync.Once with all directives 2015-10-15 00:07:26 -06:00
errors_test.go errors: New 'visible' mode to write stack trace to response 2015-09-24 16:21:28 -06:00
errors.go errors: New 'visible' mode to write stack trace to response 2015-09-24 16:21:28 -06:00
ext_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
ext.go Major refactoring of middleware and parser in progress 2015-05-04 11:04:37 -06:00
fastcgi_test.go removed redundant comment lines 2015-08-30 18:57:20 +05:30
fastcgi.go Epic revert of 0ac8bf5 and adding OncePerServerBlock 2015-10-14 23:45:28 -06:00
gzip_test.go Gzip: Fix wildcard extension bug. 2015-07-06 06:36:48 +01:00
gzip.go Fix vet warnings about unkeyed fields 2015-09-10 19:57:23 -07:00
headers_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
headers.go headers: Replaced usage of Url to Path in setup 2015-05-09 21:57:55 +02:00
internal_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
internal.go rename middleware's name from internal to inner 2015-06-10 15:48:41 +08:00
log_test.go Use localtime for the log roller timestamp 2015-09-04 19:18:01 +02:00
log.go Added LogRoller parser and entity. 2015-09-02 15:13:31 +02:00
markdown_test.go Fix formatting directives in tests 2015-09-04 08:34:58 -07:00
markdown.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
mime_test.go New core middleware, MIME. 2015-09-30 18:37:10 +01:00
mime.go New core middleware, MIME. 2015-09-30 18:37:10 +01:00
proxy.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
redir.go redir: Include scheme in redirect rules 2015-09-30 08:38:31 -06:00
rewrite_test.go Fix vet warnings about unkeyed fields 2015-09-10 19:57:23 -07:00
rewrite.go Rewrite: Support for Regular Expressions. 2015-05-16 13:03:48 +01:00
roller.go Use localtime for the log roller timestamp 2015-09-04 19:18:01 +02:00
root_test.go Fail the test if the configuration fails. 2015-10-10 04:15:25 +03:00
root.go Major refactoring of middleware and parser in progress 2015-05-04 11:04:37 -06:00
startupshutdown.go Address various lint and gocyclo warnings. Fixes #253 2015-10-11 16:28:02 -04:00
templates_test.go Complete test coverage for config/setup/templates.go 2015-06-28 07:03:42 +05:30
templates.go export of variables undone 2015-06-27 03:49:44 +05:30
tls_test.go setup: export functions and variables for external packages. 2015-06-20 14:59:33 +01:00
tls.go core: Disable TLS for http sites (again) 2015-08-05 11:33:51 -06:00
websocket_test.go test for webSocketParse function in config/setup 2015-06-24 07:05:53 +05:30
websocket.go test for webSocketParse function in config/setup 2015-06-24 07:05:53 +05:30