mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 13:37:30 +00:00
chore: Cleanup code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// +build android,cmfa
|
||||
//go:build android && cmfa
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ func NewWithAuthenticate(addr string, tunnel C.Tunnel, authenticate bool, additi
|
||||
}
|
||||
continue
|
||||
}
|
||||
if features.Contains("cmfa") {
|
||||
if features.CMFA {
|
||||
if t, ok := conn.(*net.TCPConn); ok {
|
||||
t.SetKeepAlive(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user