GitHub user roshan opened a pull request:
https://github.com/apache/thrift/pull/472
[THRIFT-1954] Make it possible to use separate socket and connection
timeouts
I could have used this feature at work today. It would be useful to timeout
quickly when trying to connect but wait indefinitely on reads. This shouldn't
change the functionality of existing code since it sets both when you call the
old function, but allows you to set them separately if you want.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/roshan/thrift
THRIFT-1954_separate_socket_and_connect_timeout
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/472.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 #472
----
commit 0548c01742d8fd3a55de1d516c7911720c08debc
Author: Roshan George <[email protected]>
Date: 2015-04-30T07:07:56Z
Make it possible to use separate socket and connection timeouts
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---