chore: remove log

This commit is contained in:
Skyxim 2022-07-11 22:18:24 +08:00
parent 23b2f3b971
commit 9565b5194c

View file

@ -4,7 +4,6 @@ import (
"context" "context"
"github.com/Dreamacro/clash/component/tls" "github.com/Dreamacro/clash/component/tls"
"github.com/Dreamacro/clash/listener/inner" "github.com/Dreamacro/clash/listener/inner"
"github.com/Dreamacro/clash/log"
"io" "io"
"net" "net"
"net/http" "net/http"
@ -53,7 +52,6 @@ func HttpRequest(ctx context.Context, url, method string, header map[string][]st
TLSHandshakeTimeout: 10 * time.Second, TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second, ExpectContinueTimeout: 1 * time.Second,
DialContext: func(ctx context.Context, network, address string) (net.Conn, error) { DialContext: func(ctx context.Context, network, address string) (net.Conn, error) {
log.Infoln(urlRes.String())
conn := inner.HandleTcp(address, urlRes.Hostname()) conn := inner.HandleTcp(address, urlRes.Hostname())
return conn, nil return conn, nil
}, },