Fix assertion in unit test
authorSubodh Iyengar <subodh@fb.com>
Thu, 1 Dec 2016 14:39:24 +0000 (06:39 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 1 Dec 2016 14:53:46 +0000 (06:53 -0800)
commit7c8f000f43d6f89406e939ddc59da687ba040b78
tree3988e9c76be4ebd5e7d60f5882675cb6911052ae
parent930da0547264c17739050ec0e9fad39887e78bab
Fix assertion in unit test

Summary:
Fix test for AsyncSSLSocket. When a timeout
occurs during a handshake it's possible that
invokeConnectError is called with sslState_ ==
CONNECTING. This just removes the assertion in
this case. This doesnt affect prod code, only
tests

Reviewed By: yfeldblum

Differential Revision: D4252677

fbshipit-source-id: 4db3a94ae28aa140546554c087bedcee7f06d201
folly/io/async/AsyncSSLSocket.cpp