mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-22 01:57:36 +08:00
Make ReadWaitConn reader replaceable
This commit is contained in:
parent
f4ed684146
commit
b0d0f84770
@ -128,6 +128,10 @@ func (c *ReadWaitConn) Upstream() any {
|
||||
return c.Conn
|
||||
}
|
||||
|
||||
func (c *ReadWaitConn) ReaderReplaceable() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
var tlsRegistry []func(conn net.Conn) (loaded bool, tlsReadRecord func() error, tlsHandlePostHandshakeMessage func() error)
|
||||
|
||||
func init() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user