#include <TestSSLServer.h>
Definition at line 101 of file TestSSLServer.h.
Definition at line 36 of file TestSSLServer.cpp.
References ctx_, and init().
39 ctx_ = std::make_shared<SSLContext>();
42 ctx_->ciphers(
"ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH");
SSLServerAcceptCallbackBase * acb_
std::shared_ptr< SSLContext > ctx_
Definition at line 52 of file TestSSLServer.cpp.
References init().
SSLServerAcceptCallbackBase * acb_
std::shared_ptr< SSLContext > ctx_
folly::TestSSLServer::~TestSSLServer |
( |
| ) |
|
|
virtual |
EventBase& folly::TestSSLServer::getEventBase |
( |
| ) |
|
|
inline |
void folly::TestSSLServer::init |
( |
bool |
enableTFO | ) |
|
|
private |
Definition at line 60 of file TestSSLServer.cpp.
References acb_, address_, folly::SSLServerAcceptCallbackBase::base_, folly::SSLServerAcceptCallbackBase::ctx_, ctx_, folly::SSLServerAcceptCallbackBase::detach(), evb_, folly::INFO, folly::EventBase::loop(), folly::AsyncServerSocket::newSocket(), socket_, and thread_.
Referenced by TestSSLServer().
68 LOG(
INFO) <<
"server TFO enabled";
69 socket_->setTFOEnabled(
true, 1000);
82 LOG(
INFO) <<
"Server thread exited event loop";
SSLServerAcceptCallbackBase * acb_
std::shared_ptr< SSLContext > ctx_
std::shared_ptr< AsyncServerSocket > socket_
static std::shared_ptr< AsyncServerSocket > newSocket(EventBase *evb=nullptr)
std::shared_ptr< SSLContext > ctx_
void folly::TestSSLServer::loadTestCerts |
( |
| ) |
|
std::shared_ptr<SSLContext> folly::TestSSLServer::ctx_ |
|
protected |
std::thread folly::TestSSLServer::thread_ |
|
protected |
The documentation for this class was generated from the following files: