aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 27386046..dc04cab5 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -969,6 +969,9 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
969 struct MHD_UpgradeResponseHandle *urh; 969 struct MHD_UpgradeResponseHandle *urh;
970 size_t rbo; 970 size_t rbo;
971 971
972 mhd_assert ( (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD)) || \
973 MHD_thread_ID_match_current_ (connection->pid) );
974
972 if (0 == (daemon->options & MHD_ALLOW_UPGRADE)) 975 if (0 == (daemon->options & MHD_ALLOW_UPGRADE))
973 return MHD_NO; 976 return MHD_NO;
974 977