server: remove buffer pool

This commit is contained in:
Cadey Ratio 2017-10-07 08:38:59 -07:00
parent 1d61efc170
commit 302479389f
No known key found for this signature in database
GPG Key ID: D607EE27C2E7F89A
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@ import (
proto "git.xeserv.us/xena/route/proto"
"github.com/Xe/ln"
"github.com/mtneug/pkg/ulid"
"github.com/oxtoacart/bpool"
kcp "github.com/xtaci/kcp-go"
"golang.org/x/crypto/acme/autocert"
"golang.org/x/net/context"
@ -192,7 +191,6 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
Director: s.Director,
Transport: s.ts,
FlushInterval: 1 * time.Second,
BufferPool: bpool.NewBytePool(256, 4096),
}
rp.ServeHTTP(w, r)