From 4a8d099acadd9df48e580ea4c535400ab596e83d Mon Sep 17 00:00:00 2001 From: 9seconds Date: Thu, 19 Mar 2026 17:39:57 +0100 Subject: [PATCH] Remove unused buffer --- mtglib/internal/tls/conn.go | 2 -- 1 file changed, 2 deletions(-) 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 }