diff --git a/mtglib/internal/tls/conn.go b/mtglib/internal/tls/conn.go index e889310..ce33fa1 100644 --- a/mtglib/internal/tls/conn.go +++ b/mtglib/internal/tls/conn.go @@ -34,7 +34,6 @@ type Conn struct { type connPayload struct { readBuf bytes.Buffer - writeBuf bytes.Buffer connBuffered *bufio.Reader read bool write bool @@ -80,7 +79,6 @@ func New(conn essentials.Conn, read, write bool) Conn { } newConn.p.readBuf.Grow(DefaultBufferSize) - newConn.p.writeBuf.Grow(DefaultBufferSize) return newConn }