From 342ea0689f5811ee00d4a6cc4688adff4409bd09 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 25 Aug 2025 17:32:35 -0400 Subject: [PATCH] conn: properly mark `UnderlyingConn()` as deprecated Fixes commit 9413ded90f9177af752bd83eabd36a84f3ab252b Signed-off-by: Simon Deziel --- conn.go | 1 + 1 file changed, 1 insertion(+) diff --git a/conn.go b/conn.go index 9562ffd4..63a7bbfb 100644 --- a/conn.go +++ b/conn.go @@ -1206,6 +1206,7 @@ func (c *Conn) NetConn() net.Conn { // UnderlyingConn returns the internal net.Conn. This can be used to further // modifications to connection specific flags. +// // Deprecated: Use the NetConn method. func (c *Conn) UnderlyingConn() net.Conn { return c.conn