Skip to content

Commit

Permalink
fix: DisableKeepAlive default value of android (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestL18 authored Dec 2, 2024
1 parent 9de9f1e commit 5a24efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/keepalive/tcp_keepalive.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func KeepAliveInterval() time.Duration {

func SetDisableKeepAlive(disable bool) {
if runtime.GOOS == "android" {
setDisableKeepAlive(false)
setDisableKeepAlive(true)
} else {
setDisableKeepAlive(disable)
}
Expand Down

0 comments on commit 5a24efd

Please # to comment.