Add method to check if SSL Lock is disabled
authorNeel Goyal <ngoyal@fb.com>
Thu, 13 Apr 2017 19:14:40 +0000 (12:14 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 13 Apr 2017 19:26:12 +0000 (12:26 -0700)
commite7231fdbd91f883b0e16e7ea3505d8233612885c
tree9744b41046ed48376b7d44fa241365e1fa83b87b
parent37af03980d1e36c1417998d7df2edbf6f182f07a
Add method to check if SSL Lock is disabled

Summary:
Add a method where users can determine if a SSL lock is disabled.

This can help when it comes to making decisions about things like whether reusing SSL Contexts is safe in multithreaded programs.

Reviewed By: siyengar

Differential Revision: D4875780

fbshipit-source-id: 91e9259fee25856be1b77823559d16d0679bde5b
folly/io/async/SSLContext.cpp
folly/io/async/SSLContext.h
folly/io/async/test/AsyncSSLSocketTest2.cpp