gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 05/09: internal_add_connection(): added mis


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 05/09: internal_add_connection(): added missing TLS session deinit in case of failure
Date: Sun, 04 Jun 2017 14:08:03 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 44a92f9f53feccebb45d5cfb3a3d73c1eecd80c8
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Jun 4 13:51:38 2017 +0300

    internal_add_connection(): added missing TLS session deinit in case of 
failure
---
 src/microhttpd/daemon.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 2bdd5e16..01306045 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2677,6 +2677,10 @@ internal_add_connection (struct MHD_Daemon *daemon,
                                connection,
                                &connection->socket_context,
                                MHD_CONNECTION_NOTIFY_CLOSED);
+#ifdef HTTPS_SUPPORT
+ if (NULL != connection->tls_session)
+   gnutls_deinit (connection->tls_session);
+#endif /* HTTPS_SUPPORT */
   MHD_socket_close_chk_ (client_socket);
   MHD_ip_limit_del (daemon,
                     addr,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]