GitHub user abadcafe opened a pull request: https://github.com/apache/thrift/pull/248
THRIFT-2788: enable TCP keep alive for sockets in java lib. Both client and server sockets in Java were not enable tcp keepalive. This is important for reap dead tcp connections. If not enabled, the process can not be notified appropriately while remote peer crashed or connection interrupted You can merge this pull request into a Git repository by running: $ git pull https://github.com/ops-baidu/thrift THRIFT-2788 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/248.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #248 ---- commit 3299a0a077d308ba56d43639a3dbff68c911c10f Author: Lei Feiwei <leifei...@baidu.com> Date: 2014-10-17T13:11:04Z enable TCP keep alive for sockets in java lib. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---