Jens Geyer created THRIFT-5436:
----------------------------------
Summary: Timeout.Infinite is not a good default
Key: THRIFT-5436
URL: https://issues.apache.org/jira/browse/THRIFT-5436
Project: Thrift
Issue Type: Improvement
Components: netstd - Library
Reporter: Jens Geyer
Assignee: Jens Geyer
The netstd NamedPIpes implementation uses Timeout.Infinite as the default
value, which can be problematic, e.g. if the remote end is not reachable tzhe
client will hang forever unless a moire suitable timeout is explicitly
specified.
This patch sets the default to 60 seconds, which is still pretty much
(primarily chosen in order to prevent breaking existing code by too aggressive
timeouts) but way less than Timeout.Infinite, giving the client a realistic
chance to detect the problem before the end of the world comes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)