server: remove buffer pool
This commit is contained in:
parent
1d61efc170
commit
302479389f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue