fix xnet.Pipe

This commit is contained in:
ginuerzh committed 2025-08-01 23:00:50 +08:00
1 parent a5309eee97
commit db21de831a
22 files changed
+122 -51

No files matched your search

+2 -2
View File
@@ -94,14 +94,14 @@ func (c *conn) CloseRead() error {
if sc, ok := c.Conn.(xio.CloseRead); ok {
return sc.CloseRead()
}
return nil
return xio.ErrUnsupported
}
func (c *conn) CloseWrite() error {
if sc, ok := c.Conn.(xio.CloseWrite); ok {
return sc.CloseWrite()
}
return nil
return xio.ErrUnsupported
}
type packetConn struct {