Fix missing upstream func for read wait conn

This commit is contained in:
世界 2024-01-16 05:49:21 +08:00
parent c4d9be9e0d
commit a850a73e1a
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -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