1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

gzip: Use klauspost/gzip, an optimized gzip implementation

This commit is contained in:
Matthew Holt 2020-04-01 14:09:57 -06:00
parent ce3ca541d8
commit d322de6b42
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -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() {