From b3568f03e4103dd46db2ccc680fbab0a6454d604 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 15 Sep 2026 13:56:10 -0400 Subject: fix: telnet buffer reuse, bank stack handling, transport casino gate, and admin cache invalidation --- internal/net/wsconn.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/net/wsconn.go') diff --git a/internal/net/wsconn.go b/internal/net/wsconn.go index d6f45dc..4990c0b 100644 --- a/internal/net/wsconn.go +++ b/internal/net/wsconn.go @@ -9,6 +9,9 @@ type wsConn struct { } func newWSConn(conn *websocket.Conn) *wsConn { + // Bound incoming message size so a client cannot push arbitrarily large + // frames into memory before the session's truncation logic runs. + conn.SetReadLimit(maxLineLength * 4) return &wsConn{conn: conn} } -- cgit v1.2.3