Skip to content

Commit 5a24efd

Browse files
authored
fix: DisableKeepAlive default value of android (#1690)
1 parent 9de9f1e commit 5a24efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component/keepalive/tcp_keepalive.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func KeepAliveInterval() time.Duration {
3535

3636
func SetDisableKeepAlive(disable bool) {
3737
if runtime.GOOS == "android" {
38-
setDisableKeepAlive(false)
38+
setDisableKeepAlive(true)
3939
} else {
4040
setDisableKeepAlive(disable)
4141
}

0 commit comments

Comments
 (0)