#include <fcntl.h>
#include <sys/types.h>
#include <chrono>
+#include <memory>
#include <folly/Bits.h>
#include <folly/Format.h>
void AsyncSSLSocket::enableClientHelloParsing() {
parseClientHello_ = true;
- clientHelloInfo_.reset(new ssl::ClientHelloInfo());
+ clientHelloInfo_ = std::make_unique<ssl::ClientHelloInfo>();
}
void AsyncSSLSocket::resetClientHelloParsing(SSL *ssl) {