While investigating another test I stumbled on a race condition in the SSLTube/SSLFlowDelegate: if an IOException is raised at the lower level (socket) before the ALPN is available the ALPN CF may never be completed, and as a result the connection may be stuck.
|