Fixes and improvements

This commit is contained in:
Shtorm
2026-07-16 11:16:10 +03:00
parent a27453e4f7
commit 4624fd51b1
28 changed files with 1178 additions and 1474 deletions

View File

@@ -312,7 +312,7 @@ func createHTTPClient(ctx context.Context, dest M.Socksaddr, dialer N.Dialer, op
if err != nil {
return nil, err
}
if httpVersion == "2" {
if tlsConfig != nil && httpVersion != "3" {
return tls.ClientHandshake(ctxInner, conn, tlsConfig)
}
return conn, nil