libmicrohttpd

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

commit 3a0f1ddb107eb8698d597d47295bf074eed31eb4
parent a3519410eee2b11c813d97872724b1394480eea4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun, 21 May 2017 17:28:30 +0300

close_connection(): added two EXTRA_CHECKs

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 @@ -4513,6 +4513,8 @@ close_connection (struct MHD_Connection *pos) MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex); + EXTRA_CHECK (! pos->suspended); + EXTRA_CHECK (! pos->resuming); if (pos->connection_timeout == pos->daemon->connection_timeout) XDLL_remove (daemon->normal_timeout_head, daemon->normal_timeout_tail,