aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index b983e7ed..ddf62d77 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -868,6 +868,7 @@ MHD_connection_close_ (struct MHD_Connection *connection,
868 struct MHD_Daemon *daemon = connection->daemon; 868 struct MHD_Daemon *daemon = connection->daemon;
869 struct MHD_Response *resp = connection->rp.response; 869 struct MHD_Response *resp = connection->rp.response;
870 870
871 mhd_assert (! connection->suspended);
871#ifdef MHD_USE_THREADS 872#ifdef MHD_USE_THREADS
872 mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \ 873 mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \
873 MHD_thread_ID_match_current_ (connection->pid) ); 874 MHD_thread_ID_match_current_ (connection->pid) );