feat: bump quic-go version to v0.35.1 (mod wip), change client config format for sni

This commit is contained in:
tobyxdd
2023-06-02 16:51:17 -07:00
parent 41f10a22c4
commit 5586303825
16 changed files with 31 additions and 44 deletions

View File

@@ -163,7 +163,6 @@ func TestClientServerTCPStress(t *testing.T) {
// Create client
c, err := client.NewClient(&client.Config{
ServerAddr: udpAddr,
ServerName: udpAddr.String(),
Auth: "password",
TLSConfig: client.TLSConfig{InsecureSkipVerify: true},
})
@@ -219,7 +218,6 @@ func TestClientServerUDPStress(t *testing.T) {
// Create client
c, err := client.NewClient(&client.Config{
ServerAddr: udpAddr,
ServerName: udpAddr.String(),
Auth: "password",
TLSConfig: client.TLSConfig{InsecureSkipVerify: true},
})