This avoids leaking memory. Also change to always call SSL_shutdown() regardless of whether a QUIT message was sent. No need to call SSL_shutdown() from write_to_server(), close_server() will do it for us. Remove "Closing SSL connection" message.
227 KiB
227 KiB