diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-10-20 15:30:15 +0300 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-10-20 15:30:15 +0300 |
commit | 2f4876aaf2b591786efc9b49f34b86ad44c25074 (patch) | |
tree | 030d28a5419daaf7b3f15b66e189434d5877dcf6 /fs.go | |
parent | Issue #191: Respect ServerName set in user-provided tls.Config (diff) | |
download | fasthttp-2f4876aaf2b591786efc9b49f34b86ad44c25074.tar.gz fasthttp-2f4876aaf2b591786efc9b49f34b86ad44c25074.tar.bz2 fasthttp-2f4876aaf2b591786efc9b49f34b86ad44c25074.zip |
Use standard compress packages until https://github.com/klauspost/compress/issues/64 is fixed
Diffstat (limited to 'fs.go')
-rw-r--r-- | fs.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,6 +2,7 @@ package fasthttp import ( "bytes" + "compress/gzip" "errors" "fmt" "html" @@ -15,8 +16,6 @@ import ( "strings" "sync" "time" - - "github.com/klauspost/compress/gzip" ) // ServeFileBytesUncompressed returns HTTP response containing file contents |