connection.go | 2 +- diff --git a/connection.go b/connection.go index 1d99664af7ab8b1652a5a27e804a53fbabcbf34d..774e55f1b196e2596561d1acd6a63458c39e9254 100644 --- a/connection.go +++ b/connection.go @@ -720,7 +720,7 @@ t := c.t cl := t.cl decoder := pp.Decoder{ - R: bufio.NewReader(c.r), + R: bufio.NewReaderSize(c.r, 1<<17), MaxLength: 256 * 1024, Pool: t.chunkPool, }