Add static method to skip SSL init
authorJoel Goguen <jgoguen@fb.com>
Thu, 2 Apr 2015 23:37:50 +0000 (16:37 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Fri, 10 Apr 2015 03:33:34 +0000 (20:33 -0700)
commit483f7edce871905077d99b975cf006db37e7114b
tree4c3a3b04880f6ad2c330110814c02d8f1e74beb7
parent7c9f26357a1a2852ea11b051e1e0402dcfbce861
Add static method to skip SSL init

Summary:
Some things like gSOAP, initialize SSL only to have SSLContext stomp over their
work. Add a method to allow flagging SSLContext as "initialized" to use the
existing global state.

Test Plan:
Tested running mcrouter and paymentnegined to verify existing
functionality appears normal.

Reviewed By: subodh@fb.com

Subscribers: ssl-diffs@, folly-diffs@, yfeldblum, chalfant, dihde

FB internal diff: D1959936

Tasks: 6655251

Signature: t1:1959936:1427994292:8b2be1742ef17a5ec2c7b3ad37787d2cf4d142a6
folly/io/async/SSLContext.cpp
folly/io/async/SSLContext.h