Invoking TcpHandler::onError might result in the connection being destroyed. Though the reference to it in TcpClosed() is likely benign, it's safer to follow the standard practice of returning a nullptr to indicate that the connection is known to be destroyed. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| addressinfo.h | ||
| function.h | ||
| includes.h | ||
| openssl.cpp | ||
| openssl.h | ||
| pipe.h | ||
| poll.h | ||
| sslconnected.h | ||
| sslcontext.h | ||
| sslhandshake.h | ||
| sslshutdown.h | ||
| sslwrapper.h | ||
| tcpclosed.h | ||
| tcpconnected.h | ||
| tcpconnection.cpp | ||
| tcpinbuffer.h | ||
| tcpoutbuffer.h | ||
| tcpresolver.h | ||
| tcpstate.h | ||