Skip to content

Commit

Permalink
Freedom: Don't use rawConn copy when using utls
Browse files Browse the repository at this point in the history
  • Loading branch information
Fangliding authored Jan 9, 2025
1 parent e80ca67 commit ec27478
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxy/freedom/freedom.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ func isTLSConn(conn stat.Connection) bool {
if _, ok := conn.(*tls.Conn); ok {
return true
}
if _, ok := conn.(*tls.UConn); ok {
return true
}
}
return false
}
Expand Down

0 comments on commit ec27478

Please sign in to comment.