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, 1 insertions, 2 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 26ad649b..9004013f 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -678,9 +678,8 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
678 SHUT_RDWR); 678 SHUT_RDWR);
679 } 679 }
680#endif /* HTTPS_SUPPORT */ 680#endif /* HTTPS_SUPPORT */
681 urh->was_closed = true;
682 EXTRA_CHECK (MHD_CONNECTION_UPGRADE == connection->state); 681 EXTRA_CHECK (MHD_CONNECTION_UPGRADE == connection->state);
683 connection->state = MHD_CONNECTION_UPGRADE_CLOSED; 682 urh->was_closed = true;
684 /* As soon as connection will be marked with BOTH 683 /* As soon as connection will be marked with BOTH
685 * 'urh->was_closed' AND 'urh->clean_ready', it will 684 * 'urh->was_closed' AND 'urh->clean_ready', it will
686 * be moved to cleanup list by MHD_resume_connection(). */ 685 * be moved to cleanup list by MHD_resume_connection(). */