Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the socket has data to send, then the TCP_KEEPALIVE timer doesn'…
…t get activated and it takes much longer time before the socket is closed. TCP_USER_TIMEOUT also needs to be set for the keepalive to function when there's traffic on the tcp socket. This will cause the socket to close when the remote end is not reachable. Change-Id: I90b9ece162babc4ccc23498eec6082d20fa6c461 Partial-Bug: #1461761
- Loading branch information
Raj Reddy
committed
Jul 2, 2015
1 parent
357ed7b
commit 36746a1
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters