• Alex Guzman's avatar
    Pend free of SSL in AsyncSSLSocket until async callback completion. · 6687bf85
    Alex Guzman authored
    Summary: Pends the freeing of the internal SSL until the socket is finally destroyed. This ensures that the async job can write out the result and call the socket's callback. This also always calls restartSSLAccept in order to let it handle errors and cleaning up of async jobs.
    
    Reviewed By: knekritz
    
    Differential Revision: D9599917
    
    fbshipit-source-id: 8c4ce8b762fe59f08c2a40e76a0bebe59cd2929e
    6687bf85
AsyncSSLSocket.h 31.6 KB