gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 03/05: close_connection(): added two EXTRA_


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 03/05: close_connection(): added two EXTRA_CHECKs
Date: Sun, 21 May 2017 17:56:14 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3a0f1ddb107eb8698d597d47295bf074eed31eb4
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 21 17:28:30 2017 +0300

    close_connection(): added two EXTRA_CHECKs
---
 src/microhttpd/daemon.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 8f6b978f..a6dfc8a1 100644
--- 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,

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



reply via email to

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