diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
2677 | connection, | 2677 | connection, |
2678 | &connection->socket_context, | 2678 | &connection->socket_context, |
2679 | MHD_CONNECTION_NOTIFY_CLOSED); | 2679 | MHD_CONNECTION_NOTIFY_CLOSED); |
2680 | #ifdef HTTPS_SUPPORT | ||
2681 | if (NULL != connection->tls_session) | ||
2682 | gnutls_deinit (connection->tls_session); | ||
2683 | #endif /* HTTPS_SUPPORT */ | ||
2680 | MHD_socket_close_chk_ (client_socket); | 2684 | MHD_socket_close_chk_ (client_socket); |
2681 | MHD_ip_limit_del (daemon, | 2685 | MHD_ip_limit_del (daemon, |
2682 | addr, | 2686 | addr, |