summaryrefslogtreecommitdiff
path: root/caddy.go
diff options
context:
space:
mode:
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/caddy.go b/caddy.go
index 84cfc11..dcaa86b 100644
--- a/caddy.go
+++ b/caddy.go
@@ -959,8 +959,9 @@ func Version() (simple, full string) {
// This function is experimental and might be changed
// or removed in the future.
func ActiveContext() Context {
- currentCtxMu.RLock()
- defer currentCtxMu.RUnlock()
+ // TODO: This locking might still be needed; more investigation is required (deadlock during Cleanup for the caddytls.TLS module).
+ // currentCtxMu.RLock()
+ // defer currentCtxMu.RUnlock()
return currentCtx
}