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

@@ -37,7 +37,6 @@ func TestClientServerTCPClose(t *testing.T) {
// Create client
c, err := client.NewClient(&client.Config{
ServerAddr: udpAddr,
ServerName: udpAddr.String(),
Auth: "password",
TLSConfig: client.TLSConfig{InsecureSkipVerify: true},
})
@@ -161,7 +160,6 @@ func TestClientServerUDPClose(t *testing.T) {
// Create client
c, err := client.NewClient(&client.Config{
ServerAddr: udpAddr,
ServerName: udpAddr.String(),
Auth: "password",
TLSConfig: client.TLSConfig{InsecureSkipVerify: true},
})