proxygen
AsyncSSLSocketTest.cpp File Reference
#include <folly/io/async/test/AsyncSSLSocketTest.h>
#include <folly/SocketAddress.h>
#include <folly/String.h>
#include <folly/io/Cursor.h>
#include <folly/io/async/AsyncPipe.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/EventBase.h>
#include <folly/io/async/ScopedEventBaseThread.h>
#include <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/portability/OpenSSL.h>
#include <folly/portability/Sockets.h>
#include <folly/portability/Unistd.h>
#include <folly/ssl/Init.h>
#include <folly/io/async/test/BlockingSocket.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/types.h>
#include <fstream>
#include <iostream>
#include <list>
#include <set>
#include <thread>

Go to the source code of this file.

Classes

class  folly::ReadCallbackTerminator
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

void folly::getfds (int fds[2])
 
void folly::getctx (std::shared_ptr< folly::SSLContext > clientCtx, std::shared_ptr< folly::SSLContext > serverCtx)
 
void folly::sslsocketpair (EventBase *eventBase, AsyncSSLSocket::UniquePtr *clientSock, AsyncSSLSocket::UniquePtr *serverSock)
 
bool folly::clientProtoFilterPickPony (unsigned char **client, unsigned int *client_len, const unsigned char *, unsigned int)
 
bool folly::clientProtoFilterPickNone (unsigned char **, unsigned int *, const unsigned char *, unsigned int)
 
std::string folly::getFileAsBuf (const char *fileName)
 
 folly::TEST (AsyncSSLSocketTest, ConnectWriteReadClose)
 
 folly::TEST (AsyncSSLSocketTest, ReadAfterClose)
 
 folly::TEST (AsyncSSLSocketTest, Renegotiate)
 
 folly::TEST (AsyncSSLSocketTest, HandshakeError)
 
 folly::TEST (AsyncSSLSocketTest, ReadError)
 
 folly::TEST (AsyncSSLSocketTest, WriteError)
 
 folly::TEST (AsyncSSLSocketTest, SocketWithDelay)
 
 folly::TEST (AsyncSSLSocketTest, SNITestMatch)
 
 folly::TEST (AsyncSSLSocketTest, SNITestNotMatch)
 
 folly::TEST (AsyncSSLSocketTest, SNITestChangeServerName)
 
 folly::TEST (AsyncSSLSocketTest, SNITestClientHelloNoHostname)
 
 folly::TEST (AsyncSSLSocketTest, SSLClientTest)
 
 folly::TEST (AsyncSSLSocketTest, SSLClientTestReuse)
 
 folly::TEST (AsyncSSLSocketTest, SSLClientTimeoutTest)
 
 folly::TEST (AsyncSSLSocketTest, SSLParseClientHelloSuccess)
 
 folly::TEST (AsyncSSLSocketTest, GetClientCertificate)
 
 folly::TEST (AsyncSSLSocketTest, SSLParseClientHelloOnePacket)
 
 folly::TEST (AsyncSSLSocketTest, SSLParseClientHelloTwoPackets)
 
 folly::TEST (AsyncSSLSocketTest, SSLParseClientHelloMultiplePackets)
 
 folly::TEST (AsyncSSLSocketTest, SSLHandshakeValidationSuccess)
 
 folly::TEST (AsyncSSLSocketTest, SSLHandshakeValidationFailure)
 
 folly::TEST (AsyncSSLSocketTest, OverrideSSLCtxDisableVerify)
 
 folly::TEST (AsyncSSLSocketTest, OverrideSSLCtxEnableVerify)
 
 folly::TEST (AsyncSSLSocketTest, SSLHandshakeValidationOverride)
 
 folly::TEST (AsyncSSLSocketTest, SSLHandshakeValidationSkip)
 
 folly::TEST (AsyncSSLSocketTest, ClientCertHandshakeSuccess)
 
 folly::TEST (AsyncSSLSocketTest, NoClientCertHandshakeError)
 
 folly::TEST (AsyncSSLSocketTest, LoadCertFromMemory)
 
 folly::TEST (AsyncSSLSocketTest, MinWriteSizeTest)
 
 folly::TEST (AsyncSSLSocketTest, UnencryptedTest)
 
 folly::TEST (AsyncSSLSocketTest, ConnectUnencryptedTest)
 
 folly::TEST (AsyncSSLSocketTest, SSLAcceptRunnerBasic)
 
 folly::TEST (AsyncSSLSocketTest, SSLAcceptRunnerAcceptError)
 
 folly::TEST (AsyncSSLSocketTest, SSLAcceptRunnerAcceptClose)
 
 folly::TEST (AsyncSSLSocketTest, SSLAcceptRunnerAcceptDestroy)
 
 folly::TEST (AsyncSSLSocketTest, ConnResetErrorString)
 
 folly::TEST (AsyncSSLSocketTest, ConnEOFErrorString)
 
 folly::TEST (AsyncSSLSocketTest, ConnOpenSSLErrorString)
 
 folly::TEST (AsyncSSLSocketTest, TestSSLCipherCodeToNameMap)