Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
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.