mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-30 22:15:27 -05:00
Chore: change module name (#677)
This commit is contained in:
@@ -8,25 +8,25 @@ import (
|
||||
|
||||
"golang.org/x/sync/errgroup"
|
||||
|
||||
"v2ray.com/core"
|
||||
"v2ray.com/core/app/proxyman"
|
||||
"v2ray.com/core/common"
|
||||
"v2ray.com/core/common/net"
|
||||
"v2ray.com/core/common/protocol"
|
||||
"v2ray.com/core/common/protocol/tls/cert"
|
||||
"v2ray.com/core/common/serial"
|
||||
"v2ray.com/core/common/uuid"
|
||||
"v2ray.com/core/proxy/dokodemo"
|
||||
"v2ray.com/core/proxy/freedom"
|
||||
"v2ray.com/core/proxy/vmess"
|
||||
"v2ray.com/core/proxy/vmess/inbound"
|
||||
"v2ray.com/core/proxy/vmess/outbound"
|
||||
"v2ray.com/core/testing/servers/tcp"
|
||||
"v2ray.com/core/testing/servers/udp"
|
||||
"v2ray.com/core/transport/internet"
|
||||
"v2ray.com/core/transport/internet/http"
|
||||
"v2ray.com/core/transport/internet/tls"
|
||||
"v2ray.com/core/transport/internet/websocket"
|
||||
core "github.com/v2fly/v2ray-core/v4"
|
||||
"github.com/v2fly/v2ray-core/v4/app/proxyman"
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
"github.com/v2fly/v2ray-core/v4/common/net"
|
||||
"github.com/v2fly/v2ray-core/v4/common/protocol"
|
||||
"github.com/v2fly/v2ray-core/v4/common/protocol/tls/cert"
|
||||
"github.com/v2fly/v2ray-core/v4/common/serial"
|
||||
"github.com/v2fly/v2ray-core/v4/common/uuid"
|
||||
"github.com/v2fly/v2ray-core/v4/proxy/dokodemo"
|
||||
"github.com/v2fly/v2ray-core/v4/proxy/freedom"
|
||||
"github.com/v2fly/v2ray-core/v4/proxy/vmess"
|
||||
"github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound"
|
||||
"github.com/v2fly/v2ray-core/v4/proxy/vmess/outbound"
|
||||
"github.com/v2fly/v2ray-core/v4/testing/servers/tcp"
|
||||
"github.com/v2fly/v2ray-core/v4/testing/servers/udp"
|
||||
"github.com/v2fly/v2ray-core/v4/transport/internet"
|
||||
"github.com/v2fly/v2ray-core/v4/transport/internet/http"
|
||||
"github.com/v2fly/v2ray-core/v4/transport/internet/tls"
|
||||
"github.com/v2fly/v2ray-core/v4/transport/internet/websocket"
|
||||
)
|
||||
|
||||
func TestSimpleTLSConnection(t *testing.T) {
|
||||
@@ -228,7 +228,7 @@ func TestAutoIssuingCertificate(t *testing.T) {
|
||||
SecurityType: serial.GetMessageType(&tls.Config{}),
|
||||
SecuritySettings: []*serial.TypedMessage{
|
||||
serial.ToTypedMessage(&tls.Config{
|
||||
ServerName: "v2ray.com",
|
||||
ServerName: "v2fly.org",
|
||||
Certificate: []*tls.Certificate{{
|
||||
Certificate: certPEM,
|
||||
Usage: tls.Certificate_AUTHORITY_VERIFY,
|
||||
@@ -488,7 +488,7 @@ func TestHTTP2(t *testing.T) {
|
||||
{
|
||||
Protocol: internet.TransportProtocol_HTTP,
|
||||
Settings: serial.ToTypedMessage(&http.Config{
|
||||
Host: []string{"v2ray.com"},
|
||||
Host: []string{"v2fly.org"},
|
||||
Path: "/testpath",
|
||||
}),
|
||||
},
|
||||
@@ -560,7 +560,7 @@ func TestHTTP2(t *testing.T) {
|
||||
{
|
||||
Protocol: internet.TransportProtocol_HTTP,
|
||||
Settings: serial.ToTypedMessage(&http.Config{
|
||||
Host: []string{"v2ray.com"},
|
||||
Host: []string{"v2fly.org"},
|
||||
Path: "/testpath",
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user