mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-20 00:50:06 +08:00
fix: missing WriterReplaceable for deadline.Conn
This commit is contained in:
parent
873d0deeaa
commit
99e888c829
@ -149,6 +149,10 @@ func (c *Conn) ReaderReplaceable() bool {
|
|||||||
return c.disablePipe.Load() || c.deadline.Load().IsZero()
|
return c.disablePipe.Load() || c.deadline.Load().IsZero()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Conn) WriterReplaceable() bool {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
func (c *Conn) Upstream() any {
|
func (c *Conn) Upstream() any {
|
||||||
return c.ExtendedConn
|
return c.ExtendedConn
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user