aboutsummaryrefslogtreecommitdiff
path: root/fs.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-10-20 15:30:15 +0300
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-10-20 15:30:15 +0300
commit2f4876aaf2b591786efc9b49f34b86ad44c25074 (patch)
tree030d28a5419daaf7b3f15b66e189434d5877dcf6 /fs.go
parentIssue #191: Respect ServerName set in user-provided tls.Config (diff)
downloadfasthttp-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.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs.go b/fs.go
index c36073d..dc79dfc 100644
--- a/fs.go
+++ b/fs.go
@@ -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