From 2b22d2e6ea7ffd17ae769bd8a2adae60e5a7d0bf Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 26 Jun 2019 16:03:29 -0600 Subject: 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 --- context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'context.go') 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. // -- cgit v1.2.3