summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-03-25 06:38:25 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-03-25 06:38:25 -0700
commit473cc07f2bef4fa3c333ef58c505c50a511254fe (patch)
treec6a1f9d688e86d5635280e4842fc7675958a8a53
parent6ab4376213d6984d1b9071a58450cfa4f704fe59 (diff)
parent237ad69912eb2a18feb3a99e000d38faf7d78089 (diff)
downloadexternal_chromium-473cc07f2bef4fa3c333ef58c505c50a511254fe.zip
external_chromium-473cc07f2bef4fa3c333ef58c505c50a511254fe.tar.gz
external_chromium-473cc07f2bef4fa3c333ef58c505c50a511254fe.tar.bz2
am 237ad699: am df5fef6c: Reduce the TCP Keep Alive interval
* commit '237ad69912eb2a18feb3a99e000d38faf7d78089': Reduce the TCP Keep Alive interval
-rw-r--r--net/socket/tcp_client_socket_libevent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/tcp_client_socket_libevent.cc b/net/socket/tcp_client_socket_libevent.cc
index b38e264..ccaa834 100644
--- a/net/socket/tcp_client_socket_libevent.cc
+++ b/net/socket/tcp_client_socket_libevent.cc
@@ -55,7 +55,7 @@ void SetTCPKeepAlive(int fd) {
}
#if defined(OS_LINUX)
// Set seconds until first TCP keep alive.
- optval = 45;
+ optval = 25;
if (setsockopt(fd, SOL_TCP, TCP_KEEPIDLE, &optval, optlen)) {
PLOG(ERROR) << "Failed to set TCP_KEEPIDLE on fd: " << fd;
return;