proxy/proxy.go: IsRAWTransport() -> IsRAWTransportWithoutSecurity()

This commit is contained in:
RPRX
2025-09-02 18:15:08 +00:00
committed by GitHub
parent 4064f8dd80
commit e943de5300
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer inte
responseDone := func() error {
defer timer.SetTimeout(plcy.Timeouts.UplinkOnly)
if destination.Network == net.Network_TCP && useSplice && proxy.IsRAWTransport(conn) { // it would be tls conn in special use case of MITM, we need to let link handle traffic
if destination.Network == net.Network_TCP && useSplice && proxy.IsRAWTransportWithoutSecurity(conn) { // it would be tls conn in special use case of MITM, we need to let link handle traffic
var writeConn net.Conn
var inTimer *signal.ActivityTimer
if inbound := session.InboundFromContext(ctx); inbound != nil && inbound.Conn != nil {