Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: OpenSSL/BoringSSL don't support TLS connection handshake timeout for blocking sockets. Not honoring the timeout could lead to hodling `SslAcceptorContext::lock` reader lock before sslaccept, which would block any thing that takes writer lock, and the only case seems to be `alter instance reload tls`. This leads to instance lock up and dead master promotions. This fixes it by switching to non-blocking SSL before sslaccept. Reference Patch: facebook@3dee035 Reference Patch: facebook@b3757d0231f Differential Revision: D21616047 fbshipit-source-id: aa0532c21e9
- Loading branch information