summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/gzip
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-04-01 14:09:57 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-04-01 14:09:57 -0600
commitd322de6b429e9f0bc589880b53373975dabcb997 (patch)
tree42ce1a1917e9db9d7095bc819ef61d9d084f4b29 /modules/caddyhttp/encode/gzip
parentce3ca541d83aedac70b6c251c149ed91e1fb843a (diff)
gzip: Use klauspost/gzip, an optimized gzip implementation
Diffstat (limited to 'modules/caddyhttp/encode/gzip')
-rw-r--r--modules/caddyhttp/encode/gzip/gzip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/gzip/gzip.go b/modules/caddyhttp/encode/gzip/gzip.go
index 590f708..8215b3f 100644
--- a/modules/caddyhttp/encode/gzip/gzip.go
+++ b/modules/caddyhttp/encode/gzip/gzip.go
@@ -16,13 +16,13 @@ package caddygzip
import (
"compress/flate"
- "compress/gzip" // TODO: consider using https://github.com/klauspost/compress/gzip
"fmt"
"strconv"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
+ "github.com/klauspost/compress/gzip"
)
func init() {