Files
sing-box-extended/common/badtls/read_wait_stub.go
世界 c8b4182ea3 Improve read wait interface &
Refactor Authenticator interface to struct
2023-12-11 13:21:40 +08:00

14 lines
197 B
Go

//go:build !go1.21 || without_badtls
package badtls
import (
"os"
"github.com/sagernet/sing/common/tls"
)
func NewReadWaitConn(conn tls.Conn) (tls.Conn, error) {
return nil, os.ErrInvalid
}