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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 364acc15..821aea3f 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -653,7 +653,7 @@ MHD_upgrade_action (struct MHD_UpgradeResponseHandle *urh,
653 * 'urh->was_closed' AND 'urh->clean_ready', it will 653 * 'urh->was_closed' AND 'urh->clean_ready', it will
654 * be moved to cleanup list by MHD_resume_connection(). */ 654 * be moved to cleanup list by MHD_resume_connection(). */
655 MHD_resume_connection (connection); 655 MHD_resume_connection (connection);
656#if HTTPS_SUPPORT 656#ifdef HTTPS_SUPPORT
657 if (0 != (daemon->options & MHD_USE_TLS) ) 657 if (0 != (daemon->options & MHD_USE_TLS) )
658 { 658 {
659 /* signal that app is done by shutdown() of 'app' socket */ 659 /* signal that app is done by shutdown() of 'app' socket */
@@ -714,7 +714,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
714 urh->connection = connection; 714 urh->connection = connection;
715 rbo = connection->read_buffer_offset; 715 rbo = connection->read_buffer_offset;
716 connection->read_buffer_offset = 0; 716 connection->read_buffer_offset = 0;
717#if HTTPS_SUPPORT 717#ifdef HTTPS_SUPPORT
718 if (0 != (daemon->options & MHD_USE_TLS) ) 718 if (0 != (daemon->options & MHD_USE_TLS) )
719 { 719 {
720 struct MemoryPool *pool; 720 struct MemoryPool *pool;
@@ -896,7 +896,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
896 /* Non-TLS connection do not hold any additional resources. */ 896 /* Non-TLS connection do not hold any additional resources. */
897 urh->clean_ready = MHD_YES; 897 urh->clean_ready = MHD_YES;
898 } 898 }
899#endif 899#endif /* HTTPS_SUPPORT */
900 connection->urh = urh; 900 connection->urh = urh;
901 /* As far as MHD's event loops are concerned, this connection is 901 /* As far as MHD's event loops are concerned, this connection is
902 suspended; it will be resumed once application is done by the 902 suspended; it will be resumed once application is done by the