Commit f699143e authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Fix some outdated comments referring to TAsyncTransport

Summary: [Folly] Fix some outdated comments referring to `TAsyncTransport`.

Reviewed By: rhodo

Differential Revision: D19287080

fbshipit-source-id: 7ed234f4e5c9e17d1a3fd645f851129f4ac86b8f
parent 59b5cdc1
......@@ -381,7 +381,7 @@ bool AsyncSSLSocket::good() const {
sslState_ == STATE_UNINIT));
}
// The TAsyncTransport definition of 'good' states that the transport is
// The AsyncTransportWrapper definition of 'good' states that the transport is
// ready to perform reads and writes, so sslState_ == UNINIT must report !good.
// connecting can be true when the sslState_ == UNINIT because the AsyncSocket
// is connected but we haven't initiated the call to SSL_connect.
......
......@@ -315,9 +315,9 @@ class AsyncSSLSocket : public virtual AsyncSocket {
* the flag should be reset.
*/
// Inherit TAsyncTransport methods from AsyncSocket except the
// Inherit AsyncTransportWrapper methods from AsyncSocket except the
// following.
// See the documentation in TAsyncTransport.h
// See the documentation in AsyncTransport.h
// TODO: implement graceful shutdown in close()
// TODO: implement detachSSL() that returns the SSL connection
void closeNow() override;
......
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