Add method to get the connect timeout used for an AsyncSocket
authorNeel Goyal <ngoyal@fb.com>
Wed, 13 Apr 2016 15:04:45 +0000 (08:04 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Wed, 13 Apr 2016 15:05:22 +0000 (08:05 -0700)
commite6fd088b4fb2ae61f92c1cd85fb8ee54d3483760
tree5f0e09cc10ade980958baf4e02760b69a8c29e47
parentfe2af2ccd453a52448367244245cbce61955fca0
Add method to get the connect timeout used for an AsyncSocket

Summary: Have the AsyncSocket keep track of the timeout used for connecting and add a getter to retrieve it.

Reviewed By: hiteshk

Differential Revision: D3170625

fb-gh-sync-id: 61d0ecd8d975c49978a1cf222671aa16a2160499
fbshipit-source-id: 61d0ecd8d975c49978a1cf222671aa16a2160499
folly/io/async/AsyncSocket.cpp
folly/io/async/AsyncSocket.h
folly/io/async/test/AsyncSocketTest2.cpp