aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-07 17:08:03 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-07 17:08:03 +0300
commit959d55ec5eea5b5d68fed524d1b48184c4763620 (patch)
tree319ee95cb60db7038f9a8d6d991829b65156fbaf /src
parent35b58f8e099f6b9f9fd9e1061e011cc8a2a0bdc1 (diff)
downloadlibmicrohttpd-959d55ec5eea5b5d68fed524d1b48184c4763620.tar.gz
libmicrohttpd-959d55ec5eea5b5d68fed524d1b48184c4763620.zip
Renamed MHD flags. Now all flags are in forms MHD_USE_* or MHD_ALLOW_*.
Diffstat (limited to 'src')
-rw-r--r--src/examples/benchmark.c2
-rw-r--r--src/examples/upgrade_example.c2
-rw-r--r--src/include/microhttpd.h23
-rw-r--r--src/microhttpd/connection.c6
-rw-r--r--src/microhttpd/daemon.c30
-rw-r--r--src/microhttpd/response.c2
-rw-r--r--src/microhttpd/test_upgrade.c4
-rw-r--r--src/testcurl/test_quiesce_stream.c4
8 files changed, 42 insertions, 31 deletions
diff --git a/src/examples/benchmark.c b/src/examples/benchmark.c
index ff470205..54ee0c9d 100644
--- a/src/examples/benchmark.c
+++ b/src/examples/benchmark.c
@@ -134,7 +134,7 @@ main (int argc, char *const *argv)
134 MHD_HTTP_HEADER_CONNECTION, 134 MHD_HTTP_HEADER_CONNECTION,
135 "close"); 135 "close");
136#endif 136#endif
137 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK 137 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SUPPRESS_DATE_NO_CLOCK
138#ifdef EPOLL_SUPPORT 138#ifdef EPOLL_SUPPORT
139 | MHD_USE_EPOLL | MHD_USE_EPOLL_TURBO 139 | MHD_USE_EPOLL | MHD_USE_EPOLL_TURBO
140#endif 140#endif
diff --git a/src/examples/upgrade_example.c b/src/examples/upgrade_example.c
index bce6b277..a917b723 100644
--- a/src/examples/upgrade_example.c
+++ b/src/examples/upgrade_example.c
@@ -275,7 +275,7 @@ main (int argc,
275 printf ("%s PORT\n", argv[0]); 275 printf ("%s PORT\n", argv[0]);
276 return 1; 276 return 1;
277 } 277 }
278 d = MHD_start_daemon (MHD_USE_UPGRADE | MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG, 278 d = MHD_start_daemon (MHD_ALLOW_UPGRADE | MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG,
279 atoi (argv[1]), 279 atoi (argv[1]),
280 NULL, NULL, 280 NULL, NULL,
281 &ahc_echo, NULL, 281 &ahc_echo, NULL,
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 21d90fa2..60878cbc 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -126,7 +126,7 @@ typedef intptr_t ssize_t;
126 * Current version of the library. 126 * Current version of the library.
127 * 0x01093001 = 1.9.30-1. 127 * 0x01093001 = 1.9.30-1.
128 */ 128 */
129#define MHD_VERSION 0x00095205 129#define MHD_VERSION 0x00095206
130 130
131/** 131/**
132 * MHD-internal return code for "YES". 132 * MHD-internal return code for "YES".
@@ -601,7 +601,12 @@ enum MHD_FLAG
601 * and that DO provide other mechanisms for cache control. See also 601 * and that DO provide other mechanisms for cache control. See also
602 * RFC 2616, section 14.18 (exception 3). 602 * RFC 2616, section 14.18 (exception 3).
603 */ 603 */
604 MHD_SUPPRESS_DATE_NO_CLOCK = 128, 604 MHD_USE_SUPPRESS_DATE_NO_CLOCK = 128,
605
606/** @deprecated */
607#define MHD_SUPPRESS_DATE_NO_CLOCK \
608 _MHD_DEPR_IN_MACRO("Value MHD_SUPPRESS_DATE_NO_CLOCK is deprecated, use MHD_USE_SUPPRESS_DATE_NO_CLOCK instead") \
609 MHD_USE_SUPPRESS_DATE_NO_CLOCK
605 610
606 /** 611 /**
607 * Run without a listen socket. This option only makes sense if 612 * Run without a listen socket. This option only makes sense if
@@ -645,7 +650,7 @@ enum MHD_FLAG
645 * "external" mode. 650 * "external" mode.
646 * It's required for use of #MHD_quiesce_daemon 651 * It's required for use of #MHD_quiesce_daemon
647 * or #MHD_add_connection. 652 * or #MHD_add_connection.
648 * This option is enforced by #MHD_USE_SUSPEND_RESUME or 653 * This option is enforced by #MHD_ALLOW_SUSPEND_RESUME or
649 * #MHD_USE_NO_LISTEN_SOCKET. 654 * #MHD_USE_NO_LISTEN_SOCKET.
650 * #MHD_USE_ITC is always used automatically on platforms 655 * #MHD_USE_ITC is always used automatically on platforms
651 * where select()/poll()/other ignore shutdown of listen 656 * where select()/poll()/other ignore shutdown of listen
@@ -676,7 +681,13 @@ enum MHD_FLAG
676 * Enable suspend/resume functions, which also implies setting up 681 * Enable suspend/resume functions, which also implies setting up
677 * ITC to signal resume. 682 * ITC to signal resume.
678 */ 683 */
679 MHD_USE_SUSPEND_RESUME = 8192 | MHD_USE_ITC, 684 MHD_ALLOW_SUSPEND_RESUME = 8192 | MHD_USE_ITC,
685
686/** @deprecated */
687#define MHD_USE_SUSPEND_RESUME \
688 _MHD_DEPR_IN_MACRO("Value MHD_USE_SUSPEND_RESUME is deprecated, use MHD_ALLOW_SUSPEND_RESUME instead") \
689 MHD_ALLOW_SUSPEND_RESUME
690
680 691
681 /** 692 /**
682 * Enable TCP_FASTOPEN option. This option is only available on Linux with a 693 * Enable TCP_FASTOPEN option. This option is only available on Linux with a
@@ -690,7 +701,7 @@ enum MHD_FLAG
690 * "Upgrade" may require usage of additional internal resources, 701 * "Upgrade" may require usage of additional internal resources,
691 * which we do not want to use unless necessary. 702 * which we do not want to use unless necessary.
692 */ 703 */
693 MHD_USE_UPGRADE = 32768 704 MHD_ALLOW_UPGRADE = 32768
694 705
695}; 706};
696 707
@@ -2859,7 +2870,7 @@ enum MHD_FEATURE
2859 2870
2860 /** 2871 /**
2861 * Get whether HTTP "Upgrade" is supported. 2872 * Get whether HTTP "Upgrade" is supported.
2862 * If supported then #MHD_USE_UPGRADE, #MHD_upgrade_action() and 2873 * If supported then #MHD_ALLOW_UPGRADE, #MHD_upgrade_action() and
2863 * #MHD_create_response_for_upgrade() can be used. 2874 * #MHD_create_response_for_upgrade() can be used.
2864 */ 2875 */
2865 MHD_FEATURE_UPGRADE = 17 2876 MHD_FEATURE_UPGRADE = 17
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 0c9d1f9b..4be4a258 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1046,7 +1046,7 @@ build_header_response (struct MHD_Connection *connection)
1046 /* estimate size */ 1046 /* estimate size */
1047 size = off + 2; /* +2 for extra "\r\n" at the end */ 1047 size = off + 2; /* +2 for extra "\r\n" at the end */
1048 kind = MHD_HEADER_KIND; 1048 kind = MHD_HEADER_KIND;
1049 if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) && 1049 if ( (0 == (connection->daemon->options & MHD_USE_SUPPRESS_DATE_NO_CLOCK)) &&
1050 (NULL == MHD_get_response_header (connection->response, 1050 (NULL == MHD_get_response_header (connection->response,
1051 MHD_HTTP_HEADER_DATE)) ) 1051 MHD_HTTP_HEADER_DATE)) )
1052 get_date_string (date); 1052 get_date_string (date);
@@ -3455,11 +3455,11 @@ MHD_queue_response (struct MHD_Connection *connection,
3455#ifdef UPGRADE_SUPPORT 3455#ifdef UPGRADE_SUPPORT
3456 daemon = connection->daemon; 3456 daemon = connection->daemon;
3457 if ( (NULL != response->upgrade_handler) && 3457 if ( (NULL != response->upgrade_handler) &&
3458 (0 == (daemon->options & MHD_USE_UPGRADE)) ) 3458 (0 == (daemon->options & MHD_ALLOW_UPGRADE)) )
3459 { 3459 {
3460#ifdef HAVE_MESSAGES 3460#ifdef HAVE_MESSAGES
3461 MHD_DLOG (daemon, 3461 MHD_DLOG (daemon,
3462 _("Attempted 'upgrade' connection on daemon without MHD_USE_UPGRADE option!\n")); 3462 _("Attempted 'upgrade' connection on daemon without MHD_ALLOW_UPGRADE option!\n"));
3463#endif 3463#endif
3464 return MHD_NO; 3464 return MHD_NO;
3465 } 3465 }
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 1c7368ad..02a2f143 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -2350,8 +2350,8 @@ MHD_suspend_connection (struct MHD_Connection *connection)
2350 struct MHD_Daemon *daemon; 2350 struct MHD_Daemon *daemon;
2351 2351
2352 daemon = connection->daemon; 2352 daemon = connection->daemon;
2353 if (MHD_USE_SUSPEND_RESUME != (daemon->options & MHD_USE_SUSPEND_RESUME)) 2353 if (MHD_ALLOW_SUSPEND_RESUME != (daemon->options & MHD_ALLOW_SUSPEND_RESUME))
2354 MHD_PANIC (_("Cannot suspend connections without enabling MHD_USE_SUSPEND_RESUME!\n")); 2354 MHD_PANIC (_("Cannot suspend connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n"));
2355 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) 2355 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
2356 { 2356 {
2357 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex); 2357 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex);
@@ -2415,8 +2415,8 @@ MHD_resume_connection (struct MHD_Connection *connection)
2415 struct MHD_Daemon *daemon; 2415 struct MHD_Daemon *daemon;
2416 2416
2417 daemon = connection->daemon; 2417 daemon = connection->daemon;
2418 if (MHD_USE_SUSPEND_RESUME != (daemon->options & MHD_USE_SUSPEND_RESUME)) 2418 if (MHD_ALLOW_SUSPEND_RESUME != (daemon->options & MHD_ALLOW_SUSPEND_RESUME))
2419 MHD_PANIC (_("Cannot resume connections without enabling MHD_USE_SUSPEND_RESUME!\n")); 2419 MHD_PANIC (_("Cannot resume connections without enabling MHD_ALLOW_SUSPEND_RESUME!\n"));
2420 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) 2420 if (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
2421 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex); 2421 MHD_mutex_lock_chk_ (&daemon->cleanup_connection_mutex);
2422 connection->resuming = MHD_YES; 2422 connection->resuming = MHD_YES;
@@ -2960,7 +2960,7 @@ MHD_run_from_select (struct MHD_Daemon *daemon,
2960 struct MHD_UpgradeResponseHandle *urh; 2960 struct MHD_UpgradeResponseHandle *urh;
2961 struct MHD_UpgradeResponseHandle *urhn; 2961 struct MHD_UpgradeResponseHandle *urhn;
2962#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */ 2962#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */
2963 unsigned int mask = MHD_USE_SUSPEND_RESUME | MHD_USE_EPOLL_INTERNALLY | 2963 unsigned int mask = MHD_ALLOW_SUSPEND_RESUME | MHD_USE_EPOLL_INTERNALLY |
2964 MHD_USE_SELECT_INTERNALLY | MHD_USE_POLL_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION; 2964 MHD_USE_SELECT_INTERNALLY | MHD_USE_POLL_INTERNALLY | MHD_USE_THREAD_PER_CONNECTION;
2965 2965
2966 /* Clear ITC to avoid spinning select */ 2966 /* Clear ITC to avoid spinning select */
@@ -2972,7 +2972,7 @@ MHD_run_from_select (struct MHD_Daemon *daemon,
2972 MHD_itc_clear_ (daemon->itc); 2972 MHD_itc_clear_ (daemon->itc);
2973 2973
2974 /* Resuming external connections when using an extern mainloop */ 2974 /* Resuming external connections when using an extern mainloop */
2975 if (MHD_USE_SUSPEND_RESUME == (daemon->options & mask)) 2975 if (MHD_ALLOW_SUSPEND_RESUME == (daemon->options & mask))
2976 resume_suspended_connections (daemon); 2976 resume_suspended_connections (daemon);
2977 2977
2978#ifdef EPOLL_SUPPORT 2978#ifdef EPOLL_SUPPORT
@@ -3077,7 +3077,7 @@ MHD_select (struct MHD_Daemon *daemon,
3077 err_state = MHD_NO; 3077 err_state = MHD_NO;
3078 if (0 == (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) 3078 if (0 == (daemon->options & MHD_USE_THREAD_PER_CONNECTION))
3079 { 3079 {
3080 if ( (MHD_USE_SUSPEND_RESUME == (daemon->options & MHD_USE_SUSPEND_RESUME)) && 3080 if ( (MHD_ALLOW_SUSPEND_RESUME == (daemon->options & MHD_ALLOW_SUSPEND_RESUME)) &&
3081 (MHD_YES == resume_suspended_connections (daemon)) ) 3081 (MHD_YES == resume_suspended_connections (daemon)) )
3082 may_block = MHD_NO; 3082 may_block = MHD_NO;
3083 3083
@@ -3227,7 +3227,7 @@ MHD_poll_all (struct MHD_Daemon *daemon,
3227 struct MHD_UpgradeResponseHandle *urhn; 3227 struct MHD_UpgradeResponseHandle *urhn;
3228#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */ 3228#endif /* HTTPS_SUPPORT && UPGRADE_SUPPORT */
3229 3229
3230 if ( (MHD_USE_SUSPEND_RESUME == (daemon->options & MHD_USE_SUSPEND_RESUME)) && 3230 if ( (MHD_ALLOW_SUSPEND_RESUME == (daemon->options & MHD_ALLOW_SUSPEND_RESUME)) &&
3231 (MHD_YES == resume_suspended_connections (daemon)) ) 3231 (MHD_YES == resume_suspended_connections (daemon)) )
3232 may_block = MHD_NO; 3232 may_block = MHD_NO;
3233 3233
@@ -3839,7 +3839,7 @@ MHD_epoll (struct MHD_Daemon *daemon,
3839 3839
3840 /* we handle resumes here because we may have ready connections 3840 /* we handle resumes here because we may have ready connections
3841 that will not be placed into the epoll list immediately. */ 3841 that will not be placed into the epoll list immediately. */
3842 if (MHD_USE_SUSPEND_RESUME == (daemon->options & MHD_USE_SUSPEND_RESUME)) 3842 if (MHD_ALLOW_SUSPEND_RESUME == (daemon->options & MHD_ALLOW_SUSPEND_RESUME))
3843 (void) resume_suspended_connections (daemon); 3843 (void) resume_suspended_connections (daemon);
3844 3844
3845 /* process events for connections */ 3845 /* process events for connections */
@@ -4635,7 +4635,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon)
4635 if (-1 == daemon->epoll_fd) 4635 if (-1 == daemon->epoll_fd)
4636 return MHD_NO; 4636 return MHD_NO;
4637#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) 4637#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT)
4638 if (0 != (MHD_USE_UPGRADE & daemon->options)) 4638 if (0 != (MHD_ALLOW_UPGRADE & daemon->options))
4639 { 4639 {
4640 daemon->epoll_upgrade_fd = setup_epoll_fd (daemon); 4640 daemon->epoll_upgrade_fd = setup_epoll_fd (daemon);
4641 if (MHD_INVALID_SOCKET == daemon->epoll_upgrade_fd) 4641 if (MHD_INVALID_SOCKET == daemon->epoll_upgrade_fd)
@@ -4736,10 +4736,10 @@ MHD_start_daemon_va (unsigned int flags,
4736 if (0 != (flags & MHD_USE_TCP_FASTOPEN)) 4736 if (0 != (flags & MHD_USE_TCP_FASTOPEN))
4737 return NULL; 4737 return NULL;
4738#endif 4738#endif
4739 if (0 != (flags & MHD_USE_UPGRADE)) 4739 if (0 != (flags & MHD_ALLOW_UPGRADE))
4740 { 4740 {
4741#ifdef UPGRADE_SUPPORT 4741#ifdef UPGRADE_SUPPORT
4742 flags |= MHD_USE_SUSPEND_RESUME; 4742 flags |= MHD_ALLOW_SUSPEND_RESUME;
4743#else /* ! UPGRADE_SUPPORT */ 4743#else /* ! UPGRADE_SUPPORT */
4744 return NULL; 4744 return NULL;
4745#endif /* ! UPGRADE_SUPPORT */ 4745#endif /* ! UPGRADE_SUPPORT */
@@ -5445,7 +5445,7 @@ close_all_connections (struct MHD_Daemon *daemon)
5445 struct MHD_Connection *pos; 5445 struct MHD_Connection *pos;
5446 const bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)); 5446 const bool used_thr_p_c = (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION));
5447#ifdef UPGRADE_SUPPORT 5447#ifdef UPGRADE_SUPPORT
5448 const bool upg_allowed = (0 != (daemon->options & MHD_USE_UPGRADE)); 5448 const bool upg_allowed = (0 != (daemon->options & MHD_ALLOW_UPGRADE));
5449#endif /* UPGRADE_SUPPORT */ 5449#endif /* UPGRADE_SUPPORT */
5450#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) 5450#if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT)
5451 struct MHD_UpgradeResponseHandle *urh; 5451 struct MHD_UpgradeResponseHandle *urh;
@@ -5471,7 +5471,7 @@ close_all_connections (struct MHD_Daemon *daemon)
5471 running into the check for there not being any suspended 5471 running into the check for there not being any suspended
5472 connections left in case of a tight race with a recently 5472 connections left in case of a tight race with a recently
5473 resumed connection. */ 5473 resumed connection. */
5474 if (0 != (MHD_USE_SUSPEND_RESUME & daemon->options)) 5474 if (0 != (MHD_ALLOW_SUSPEND_RESUME & daemon->options))
5475 { 5475 {
5476 daemon->resuming = MHD_YES; /* Force check for pending resume. */ 5476 daemon->resuming = MHD_YES; /* Force check for pending resume. */
5477 resume_suspended_connections (daemon); 5477 resume_suspended_connections (daemon);
@@ -5621,7 +5621,7 @@ MHD_stop_daemon (struct MHD_Daemon *daemon)
5621 if (NULL == daemon) 5621 if (NULL == daemon)
5622 return; 5622 return;
5623 5623
5624 if (0 != (MHD_USE_SUSPEND_RESUME & daemon->options)) 5624 if (0 != (MHD_ALLOW_SUSPEND_RESUME & daemon->options))
5625 resume_suspended_connections (daemon); 5625 resume_suspended_connections (daemon);
5626 5626
5627 daemon->shutdown = MHD_YES; 5627 daemon->shutdown = MHD_YES;
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 26cae65e..17fe8122 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -692,7 +692,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
692 struct MHD_UpgradeResponseHandle *urh; 692 struct MHD_UpgradeResponseHandle *urh;
693 size_t rbo; 693 size_t rbo;
694 694
695 if (0 == (daemon->options & MHD_USE_UPGRADE)) 695 if (0 == (daemon->options & MHD_ALLOW_UPGRADE))
696 return MHD_NO; 696 return MHD_NO;
697 697
698 if (NULL == 698 if (NULL ==
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 8b835649..6ca9e7dc 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -1004,7 +1004,7 @@ test_upgrade (int flags,
1004 done = 0; 1004 done = 0;
1005 1005
1006 if (!test_tls) 1006 if (!test_tls)
1007 d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_USE_UPGRADE, 1007 d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_ALLOW_UPGRADE,
1008 1080, 1008 1080,
1009 NULL, NULL, 1009 NULL, NULL,
1010 &ahc_upgrade, NULL, 1010 &ahc_upgrade, NULL,
@@ -1015,7 +1015,7 @@ test_upgrade (int flags,
1015 MHD_OPTION_END); 1015 MHD_OPTION_END);
1016#ifdef HTTPS_SUPPORT 1016#ifdef HTTPS_SUPPORT
1017 else 1017 else
1018 d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_USE_UPGRADE | MHD_USE_TLS, 1018 d = MHD_start_daemon (flags | MHD_USE_DEBUG | MHD_ALLOW_UPGRADE | MHD_USE_TLS,
1019 1080, 1019 1080,
1020 NULL, NULL, 1020 NULL, NULL,
1021 &ahc_upgrade, NULL, 1021 &ahc_upgrade, NULL,
diff --git a/src/testcurl/test_quiesce_stream.c b/src/testcurl/test_quiesce_stream.c
index 5a237bfa..112f5ad1 100644
--- a/src/testcurl/test_quiesce_stream.c
+++ b/src/testcurl/test_quiesce_stream.c
@@ -170,8 +170,8 @@ main()
170 unsigned int daemon_flags 170 unsigned int daemon_flags
171 = MHD_USE_SELECT_INTERNALLY 171 = MHD_USE_SELECT_INTERNALLY
172 | MHD_USE_EPOLL 172 | MHD_USE_EPOLL
173 | MHD_USE_SUSPEND_RESUME 173 | MHD_ALLOW_SUSPEND_RESUME
174 | MHD_USE_PIPE_FOR_SHUTDOWN; 174 | MHD_USE_ITC;
175 175
176 /* Create daemon */ 176 /* Create daemon */
177 struct MHD_Daemon *daemon = MHD_start_daemon (daemon_flags, 177 struct MHD_Daemon *daemon = MHD_start_daemon (daemon_flags,