Inherits Garbage
Creates and manages a thread for TLS processing using openssl
Constructs an empty TlsThread
Reimplements Garbage::Garbage().
Returns true if this TlsThread is broken somehow, and false if it's in working order.
Records that fd should be used for encrypted communication with the client. The TLS thread will close fd when it's done.
Records that fd should be used for cleartext communication with the main aox thread. The TLS thread will close fd when it's done.
Perform any OpenSSL initialisation needed to enable us to create TlsThreads later.
Returns true if the openssl result status r is a serious error, and false otherwise.
Starts negotiating and does everything after that. This is run in the separate thread.
Destroys the object and frees any allocated resources. Except we probably should do this in Connection::react() or Connection::close() or something.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.