Closed stillwaiting closed 8 years ago
If we implement such an option, we need to do so also for the non-SSL connections. Your example points to a SSL one, but this requires using Socket
instead of TCPSocket
too.
I've added a new client option connect_timeout
that should do what you ask.
Can you please try out master and see if this works for you?
Indeed. Will merge in. Closing here :)
There could be a situation when a server doesn't respond on connection (like here), so it fails. But the default timeout is huge: on my side it is ~90 seconds. Would it be possible to introduce it as an option (something like here).
Thanks.