feat: Add TLS Handshake timeout support (#530)

* feat: Add TLS Handshake timeout support

Add support for configuring a timeout for TLS Handshake call via
DialTLSHandshakeTimeout DialOption. If no option is specified then the
default timeout is 10 seconds.

Also:
* Add a default connect timeout of 30 seconds matching that of net/http.

Fixes #509
2 files changed
tree: cd929544fe752e7cd93e0a650109d9cf0272d793
  1. .github/
  2. .travis.yml
  3. LICENSE
  4. README.markdown
  5. go.mod
  6. go.sum
  7. redis/
  8. redisx/