|
@@ -12,6 +12,7 @@ import (
|
|
|
"github.com/sagernet/sing-box/transport/v2ray"
|
|
|
"github.com/sagernet/sing-dns"
|
|
|
E "github.com/sagernet/sing/common/exceptions"
|
|
|
+ "github.com/sagernet/sing/common/logger"
|
|
|
M "github.com/sagernet/sing/common/metadata"
|
|
|
N "github.com/sagernet/sing/common/network"
|
|
|
)
|
|
@@ -19,7 +20,7 @@ import (
|
|
|
const WithQUIC = false
|
|
|
|
|
|
func init() {
|
|
|
- dns.RegisterTransport([]string{"quic", "h3"}, func(ctx context.Context, dialer N.Dialer, link string) (dns.Transport, error) {
|
|
|
+ dns.RegisterTransport([]string{"quic", "h3"}, func(ctx context.Context, logger logger.ContextLogger, dialer N.Dialer, link string) (dns.Transport, error) {
|
|
|
return nil, C.ErrQUICNotIncluded
|
|
|
})
|
|
|
v2ray.RegisterQUICConstructor(
|