diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 014e35e1..b469c70b 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -4639,7 +4639,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon) | |||
4639 | if (-1 == daemon->epoll_fd) | 4639 | if (-1 == daemon->epoll_fd) |
4640 | return MHD_NO; | 4640 | return MHD_NO; |
4641 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) | 4641 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) |
4642 | if (0 != (MHD_ALLOW_UPGRADE & daemon->options)) | 4642 | if (0 != (MHD_USE_UPGRADE & daemon->options)) |
4643 | { | 4643 | { |
4644 | daemon->epoll_upgrade_fd = setup_epoll_fd (daemon); | 4644 | daemon->epoll_upgrade_fd = setup_epoll_fd (daemon); |
4645 | if (MHD_INVALID_SOCKET == daemon->epoll_upgrade_fd) | 4645 | if (MHD_INVALID_SOCKET == daemon->epoll_upgrade_fd) |
@@ -4740,7 +4740,7 @@ MHD_start_daemon_va (unsigned int flags, | |||
4740 | if (0 != (flags & MHD_USE_TCP_FASTOPEN)) | 4740 | if (0 != (flags & MHD_USE_TCP_FASTOPEN)) |
4741 | return NULL; | 4741 | return NULL; |
4742 | #endif | 4742 | #endif |
4743 | if (0 != (flags & MHD_ALLOW_UPGRADE)) | 4743 | if (0 != (flags & MHD_USE_UPGRADE)) |
4744 | { | 4744 | { |
4745 | #ifdef UPGRADE_SUPPORT | 4745 | #ifdef UPGRADE_SUPPORT |
4746 | flags |= MHD_USE_SUSPEND_RESUME; | 4746 | flags |= MHD_USE_SUSPEND_RESUME; |
@@ -5449,7 +5449,7 @@ close_all_connections (struct MHD_Daemon *daemon) | |||
5449 | struct MHD_Connection *pos; | 5449 | struct MHD_Connection *pos; |
5450 | const _MHD_bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)); | 5450 | const _MHD_bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)); |
5451 | #ifdef UPGRADE_SUPPORT | 5451 | #ifdef UPGRADE_SUPPORT |
5452 | const _MHD_bool upg_allowed = (0 != (daemon->options & MHD_ALLOW_UPGRADE)); | 5452 | const _MHD_bool upg_allowed = (0 != (daemon->options & MHD_USE_UPGRADE)); |
5453 | #endif /* UPGRADE_SUPPORT */ | 5453 | #endif /* UPGRADE_SUPPORT */ |
5454 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) | 5454 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) |
5455 | struct MHD_UpgradeResponseHandle *urh; | 5455 | struct MHD_UpgradeResponseHandle *urh; |