Commit 7a5aa125 authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Remove the fd overloads of AsyncSSLSocket::AsyncSSLSocket()

Summary: They are dead.

Reviewed By: yfeldblum

Differential Revision: D14192072

fbshipit-source-id: dcb95be39614d9968db9d63cd9f06396f4779a0a
parent 82336a72
......@@ -216,18 +216,6 @@ class AsyncSSLSocket : public virtual AsyncSocket {
* @param deferSecurityNegotiation
* unencrypted data can be sent before sslConn/Accept
*/
AsyncSSLSocket(
const std::shared_ptr<folly::SSLContext>& ctx,
EventBase* evb,
int fd,
bool server = true,
bool deferSecurityNegotiation = false)
: AsyncSSLSocket(
ctx,
evb,
NetworkSocket::fromFd(fd),
server,
deferSecurityNegotiation) {}
AsyncSSLSocket(
const std::shared_ptr<folly::SSLContext>& ctx,
EventBase* evb,
......@@ -302,18 +290,6 @@ class AsyncSSLSocket : public virtual AsyncSocket {
NetworkSocket fd,
const std::string& serverName,
bool deferSecurityNegotiation = false);
AsyncSSLSocket(
const std::shared_ptr<folly::SSLContext>& ctx,
EventBase* evb,
int fd,
const std::string& serverName,
bool deferSecurityNegotiation = false)
: AsyncSSLSocket(
ctx,
evb,
NetworkSocket::fromFd(fd),
serverName,
deferSecurityNegotiation) {}
static std::shared_ptr<AsyncSSLSocket> newSocket(
const std::shared_ptr<folly::SSLContext>& ctx,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment