Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99e888c

Browse files
committed
fix: missing WriterReplaceable for deadline.Conn
1 parent 873d0de commit 99e888c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common/net/deadline/conn.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ func (c *Conn) ReaderReplaceable() bool {
149149
return c.disablePipe.Load() || c.deadline.Load().IsZero()
150150
}
151151

152+
func (c *Conn) WriterReplaceable() bool {
153+
return true
154+
}
155+
152156
func (c *Conn) Upstream() any {
153157
return c.ExtendedConn
154158
}

0 commit comments

Comments
 (0)