Fix double TLS wrapping for noise

This commit is contained in:
9seconds
2026-03-12 19:07:11 +01:00
parent 7aa01dcebe
commit 0bfc1ef2d4
3 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ func (p *Proxy) doFakeTLSHandshake(ctx *streamContext) ([]byte, bool) {
return nil, false
}
ctx.clientConn = tls.New(ctx.clientConn, true, true)
ctx.clientConn = tls.New(ctx.clientConn, true, false)
return noise, true
}