Files
sing-box-extended/common/badtls/read_wait_stub.go
世界 aa8f53d8fd Improve read wait interface &
Refactor Authenticator interface to struct
2023-12-09 00:46:36 +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
}