Skip to content

Commit 3e590a4

Browse files
authored
Freedom: Don't use rawConn copy when using utls (#4272)
1 parent ef4a3c1 commit 3e590a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proxy/freedom/freedom.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ func isTLSConn(conn stat.Connection) bool {
266266
if _, ok := conn.(*tls.Conn); ok {
267267
return true
268268
}
269+
if _, ok := conn.(*tls.UConn); ok {
270+
return true
271+
}
269272
}
270273
return false
271274
}

0 commit comments

Comments
 (0)