Add getTotalConnectTimeout method
authorSubodh Iyengar <subodh@fb.com>
Sun, 5 Mar 2017 01:46:28 +0000 (17:46 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 5 Mar 2017 01:51:01 +0000 (17:51 -0800)
commit6f8d37dc510dfbbf8beacc67b23d937bff69182d
treeaf65dbfa6de7f4ef351f825a75749f3094d7592e
parent00eb2ce00f68bdb274844f1c6bb29ca6b8bbf6cf
Add getTotalConnectTimeout method

Summary:
AsyncSSLSocket can be connected using connect with
total timeouts.

This adds a method to get the total timeout that
was set.

Reviewed By: ngoyal, yfeldblum

Differential Revision: D4656331

fbshipit-source-id: a55ad9f081449d358b8133e9598a2063f625a2e6
folly/io/async/AsyncSSLSocket.cpp
folly/io/async/AsyncSSLSocket.h
folly/io/async/test/AsyncSSLSocketTest.cpp
folly/io/async/test/BlockingSocket.h