summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-06-26 16:03:29 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-06-26 16:03:29 -0600
commit2b22d2e6ea7ffd17ae769bd8a2adae60e5a7d0bf (patch)
tree941d6117b28b18cd25556d5a272b1e32c2abdc5f /context.go
parenta524bcfe78e8067b8224b1794c6842d9c2c7e8cf (diff)
Optionally enforce strict TLS SNI + HTTP Host matching, & misc. cleanup
We should look into a way to enable this by default when TLS client auth is configured for a server
Diffstat (limited to 'context.go')
-rw-r--r--context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/context.go b/context.go
index 9661aca..d09a979 100644
--- a/context.go
+++ b/context.go
@@ -13,8 +13,8 @@ import (
// Context is a type which defines the lifetime of modules that
// are loaded and provides access to the parent configuration
// that spawned the modules which are loaded. It should be used
-// with care and only wrapped with derivation functions from
-// the standard context package if you don't need the Caddy
+// with care and wrapped with derivation functions from the
+// standard context package only if you don't need the Caddy
// specific features. These contexts are cancelled when the
// lifetime of the modules loaded from it are over.
//