aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/encode/encode.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-09-14 18:05:45 -0600
committerMatthew Holt <[email protected]>2019-09-14 18:05:45 -0600
commitf15f0d5839479f8511621b88fa4bdcca3b89cc32 (patch)
treec42f522dcaed82c0dbab158c552e255050e1cb8a /modules/caddyhttp/encode/encode.go
parente73b117332a5606a986ee7e03e6f4b0cea7871c9 (diff)
downloadcaddy-f15f0d5839479f8511621b88fa4bdcca3b89cc32.tar.gz
caddy-f15f0d5839479f8511621b88fa4bdcca3b89cc32.zip
Eliminate some TODOs
Diffstat (limited to 'modules/caddyhttp/encode/encode.go')
-rw-r--r--modules/caddyhttp/encode/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go
index 1838885d4..3716fc69f 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