• Subodh Iyengar's avatar
    Fix TFO refused case · 16dc0043
    Subodh Iyengar authored
    Summary:
    When TFO falls back, it's possible that
    the fallback can also error out.
    
    We handle this correctly in AsyncSocket,
    however because AsyncSSLSocket is so
    inter-twined with AsyncSocket, we missed
    the case of error as well.
    
    This changes it so that a connect error on
    fallback will cause a handshake error
    
    Differential Revision: D4226477
    
    fbshipit-source-id: c6e845e4a907bfef1e6ad1b4118db47184d047e0
    16dc0043
AsyncSSLSocket.cpp 56.7 KB