X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.cpp;h=7f07483390a8b2846013e594668831b48d5b884b;hp=dbfe19b51d91981b348e738ebeee332e952db9fa;hb=b10d63c534fda113e65e24d252e509e616067ef9;hpb=16a03b9858752fae9e81af261821a2a22855fde3 diff --git a/server.cpp b/server.cpp index dbfe19b..7f07483 100644 --- a/server.cpp +++ b/server.cpp @@ -986,6 +986,10 @@ void Server::close_client(Client *client) delete_from(&client->stream->to_process, client); } + if (client->tls_context) { + tls_destroy_context(client->tls_context); + } + // Log to access_log. access_log->write(client->get_stats());