From 5a24efdabfba39bc9ed35a85bfe51d252ffc5444 Mon Sep 17 00:00:00 2001 From: ForestL <45709305+ForestL18@users.noreply.github.com> Date: Mon, 2 Dec 2024 22:49:16 +0800 Subject: [PATCH] fix: DisableKeepAlive default value of android (#1690) --- component/keepalive/tcp_keepalive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/keepalive/tcp_keepalive.go b/component/keepalive/tcp_keepalive.go index 9b24c45ada..14ec862b62 100644 --- a/component/keepalive/tcp_keepalive.go +++ b/component/keepalive/tcp_keepalive.go @@ -35,7 +35,7 @@ func KeepAliveInterval() time.Duration { func SetDisableKeepAlive(disable bool) { if runtime.GOOS == "android" { - setDisableKeepAlive(false) + setDisableKeepAlive(true) } else { setDisableKeepAlive(disable) }