From 6de6f0a1bf5ab93ec9b7133e1a549e7fcc719f35 Mon Sep 17 00:00:00 2001 From: David Lam Date: Thu, 17 Aug 2017 22:59:58 -0700 Subject: [PATCH] Remove outdated comments referencing removed TAsyncSSLServerSocket Summary: TAsyncSSLServerSocket was deleted in D1806807, so we should remove these comments. Reviewed By: yfeldblum Differential Revision: D5657431 fbshipit-source-id: ca875293737ad8ba0a8c028c9bfa5651f4a6065f --- folly/io/async/README.md | 2 +- folly/io/async/test/AsyncSSLSocketTest.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/folly/io/async/README.md b/folly/io/async/README.md index 0918b396..d2841a06 100644 --- a/folly/io/async/README.md +++ b/folly/io/async/README.md @@ -341,7 +341,7 @@ an explicit pool of EventBases. ### SSLContext SSL helper routines to load / verify certs. Used with -AsyncSSL[Server]Socket. +AsyncSSLSocket. ## Generic Multithreading Advice diff --git a/folly/io/async/test/AsyncSSLSocketTest.h b/folly/io/async/test/AsyncSSLSocketTest.h index 452d605e..b916c933 100644 --- a/folly/io/async/test/AsyncSSLSocketTest.h +++ b/folly/io/async/test/AsyncSSLSocketTest.h @@ -578,7 +578,6 @@ class SSLServerAcceptCallback: public SSLServerAcceptCallbackBase { } } - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr &s) noexcept override { @@ -599,7 +598,6 @@ class SSLServerAcceptCallbackDelay: public SSLServerAcceptCallback { explicit SSLServerAcceptCallbackDelay(HandshakeCallback *hcb): SSLServerAcceptCallback(hcb) {} - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr &s) noexcept override { @@ -641,7 +639,6 @@ class SSLServerAsyncCacheAcceptCallback: public SSLServerAcceptCallback { uint32_t timeout = 0): SSLServerAcceptCallback(hcb, timeout) {} - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr &s) noexcept override { @@ -666,7 +663,6 @@ class HandshakeErrorCallback: public SSLServerAcceptCallbackBase { explicit HandshakeErrorCallback(HandshakeCallback *hcb): SSLServerAcceptCallbackBase(hcb) {} - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr &s) noexcept override { @@ -702,7 +698,6 @@ class HandshakeTimeoutCallback: public SSLServerAcceptCallbackBase { explicit HandshakeTimeoutCallback(HandshakeCallback *hcb): SSLServerAcceptCallbackBase(hcb) {} - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr &s) noexcept override { @@ -738,7 +733,6 @@ class ConnectTimeoutCallback : public SSLServerAcceptCallbackBase { state = STATE_SUCCEEDED; } - // Functions inherited from TAsyncSSLServerSocket::SSLAcceptCallback void connAccepted( const std::shared_ptr& s) noexcept override { std::cerr << "ConnectTimeoutCallback::connAccepted" << std::endl; -- 2.34.1