From f15f0d5839479f8511621b88fa4bdcca3b89cc32 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 14 Sep 2019 18:05:45 -0600 Subject: Eliminate some TODOs --- modules/caddyhttp/encode/encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/encode') diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go index 1838885..3716fc6 100644 --- a/modules/caddyhttp/encode/encode.go +++ b/modules/caddyhttp/encode/encode.go @@ -68,7 +68,7 @@ func (enc *Encode) Provision(ctx caddy.Context) error { return err } } - enc.EncodingsRaw = nil // allow GC to deallocate - TODO: Does this help? + enc.EncodingsRaw = nil // allow GC to deallocate if enc.MinLength == 0 { enc.MinLength = defaultMinLength -- cgit v1.2.3