Browse Source

Fix: populate SNI using dial address

Rod Hynes 7 years ago
parent
commit
daf5f03648
1 changed files with 1 additions and 0 deletions
  1. 1 0
      psiphon/tlsCompatibility_test.go

+ 1 - 0
psiphon/tlsCompatibility_test.go

@@ -133,6 +133,7 @@ func testTLSCompatibility(t *testing.T, address string) {
 			tlsConfig := &CustomTLSConfig{
 				ClientParameters: clientParameters,
 				Dial:             dialer,
+				UseDialAddrSNI:   true,
 				SkipVerify:       true,
 				TLSProfile:       tlsProfile,
 			}