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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 86e3f325..4ea251d3 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -668,6 +668,7 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
668 668
669 /* transition to special 'closed' state for start of cleanup */ 669 /* transition to special 'closed' state for start of cleanup */
670 urh->was_closed = true; 670 urh->was_closed = true;
671 EXTRA_CHECK (MHD_CONNECTION_UPGRADE == connection->state);
671 connection->state = MHD_CONNECTION_UPGRADE_CLOSED; 672 connection->state = MHD_CONNECTION_UPGRADE_CLOSED;
672 /* As soon as connection will be marked with BOTH 673 /* As soon as connection will be marked with BOTH
673 * 'urh->was_closed' AND 'urh->clean_ready', it will 674 * 'urh->was_closed' AND 'urh->clean_ready', it will