Add loopback check

This commit is contained in:
世界
2023-04-08 08:58:01 +08:00
parent 62425ad3e4
commit 6843970536
9 changed files with 73 additions and 35 deletions

View File

@@ -19,7 +19,7 @@ import (
const WithQUIC = false
func init() {
dns.RegisterTransport([]string{"quic", "h3"}, func(ctx context.Context, logger logger.ContextLogger, dialer N.Dialer, link string) (dns.Transport, error) {
dns.RegisterTransport([]string{"quic", "h3"}, func(name string, ctx context.Context, logger logger.ContextLogger, dialer N.Dialer, link string) (dns.Transport, error) {
return nil, C.ErrQUICNotIncluded
})
v2ray.RegisterQUICConstructor(