libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 259f7659f579696b729601c9137e0ff23e777fc0
parent 5bd045bdb53a63c89bdd224aed5f3e47b0bc8a3a
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 16 Dec 2020 15:08:50 +0300

Fixed debug build without TLS support

Diffstat:
Msrc/microhttpd/daemon.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -7301,7 +7301,9 @@ MHD_stop_daemon (struct MHD_Daemon *daemon) mhd_assert (NULL == daemon->cleanup_head); mhd_assert (NULL == daemon->suspended_connections_head); mhd_assert (NULL == daemon->new_connections_head); +#if defined(UPGRADE_SUPPORT) && defined (HTTPS_SUPPORT) mhd_assert (NULL == daemon->urh_head); +#endif /* UPGRADE_SUPPORT && HTTPS_SUPPORT */ if (MHD_ITC_IS_VALID_ (daemon->itc)) MHD_itc_destroy_chk_ (daemon->itc);