mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 04:22:23 +08:00
Fix missing upstream func for read wait conn
This commit is contained in:
parent
c4d9be9e0d
commit
a850a73e1a
|
@ -108,6 +108,10 @@ func (c *ReadWaitConn) WaitReadBuffer() (buffer *buf.Buffer, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func (c *ReadWaitConn) Upstream() any {
|
||||
return c.STDConn
|
||||
}
|
||||
|
||||
//go:linkname tlsReadRecord crypto/tls.(*Conn).readRecord
|
||||
func tlsReadRecord(c *tls.STDConn) error
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user