aboutsummaryrefslogtreecommitdiff
path: root/src/lib/daemon_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/daemon_start.c')
-rw-r--r--src/lib/daemon_start.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/daemon_start.c b/src/lib/daemon_start.c
index 0a1b052e..5704b034 100644
--- a/src/lib/daemon_start.c
+++ b/src/lib/daemon_start.c
@@ -99,7 +99,7 @@ configure_listen_reuse (struct MHD_Daemon *daemon)
99 MHD_DLOG (daemon, 99 MHD_DLOG (daemon,
100 MHD_SC_LISTEN_ADDRESS_REUSE_ENABLE_NOT_SUPPORTED, 100 MHD_SC_LISTEN_ADDRESS_REUSE_ENABLE_NOT_SUPPORTED,
101 _ ( 101 _ (
102 "Cannot allow listening address reuse: SO_REUSEPORT not defined\n")); 102 "Cannot allow listening address reuse: SO_REUSEPORT not defined.\n"));
103#endif 103#endif
104 return MHD_SC_LISTEN_ADDRESS_REUSE_ENABLE_NOT_SUPPORTED; 104 return MHD_SC_LISTEN_ADDRESS_REUSE_ENABLE_NOT_SUPPORTED;
105#endif /* !MHD_WINSOCK_SOCKETS && !SO_REUSEPORT */ 105#endif /* !MHD_WINSOCK_SOCKETS && !SO_REUSEPORT */
@@ -138,7 +138,7 @@ configure_listen_reuse (struct MHD_Daemon *daemon)
138 MHD_DLOG (daemon, 138 MHD_DLOG (daemon,
139 MHD_SC_LISTEN_ADDRESS_REUSE_DISABLE_NOT_SUPPORTED, 139 MHD_SC_LISTEN_ADDRESS_REUSE_DISABLE_NOT_SUPPORTED,
140 _ ( 140 _ (
141 "Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined\n")); 141 "Cannot disallow listening address reuse: SO_EXCLUSIVEADDRUSE not defined.\n"));
142#endif 142#endif
143 return MHD_SC_LISTEN_ADDRESS_REUSE_DISABLE_NOT_SUPPORTED; 143 return MHD_SC_LISTEN_ADDRESS_REUSE_DISABLE_NOT_SUPPORTED;
144#endif /* MHD_WINSOCK_SOCKETS */ 144#endif /* MHD_WINSOCK_SOCKETS */
@@ -221,7 +221,7 @@ open_listen_socket (struct MHD_Daemon *daemon)
221#ifdef HAVE_MESSAGES 221#ifdef HAVE_MESSAGES
222 MHD_DLOG (daemon, 222 MHD_DLOG (daemon,
223 MHD_SC_IPV6_NOT_SUPPORTED_BY_BUILD, 223 MHD_SC_IPV6_NOT_SUPPORTED_BY_BUILD,
224 _ ("IPv6 not supported by this build\n")); 224 _ ("IPv6 not supported by this build.\n"));
225#endif 225#endif
226 return MHD_SC_IPV6_NOT_SUPPORTED_BY_BUILD; 226 return MHD_SC_IPV6_NOT_SUPPORTED_BY_BUILD;
227#endif 227#endif
@@ -281,7 +281,7 @@ try_open_listen_socket:
281 MHD_DLOG (daemon, 281 MHD_DLOG (daemon,
282 MHD_SC_LISTEN_DUAL_STACK_CONFIGURATION_NOT_SUPPORTED, 282 MHD_SC_LISTEN_DUAL_STACK_CONFIGURATION_NOT_SUPPORTED,
283 _ ( 283 _ (
284 "Cannot explicitly setup dual stack behavior on this platform\n")); 284 "Cannot explicitly setup dual stack behavior on this platform.\n"));
285#endif 285#endif
286#endif 286#endif
287 } 287 }
@@ -452,7 +452,7 @@ get_listen_port_number (struct MHD_Daemon *daemon)
452 MHD_DLOG (daemon, 452 MHD_DLOG (daemon,
453 MHD_SC_LISTEN_PORT_INTROSPECTION_FAILURE, 453 MHD_SC_LISTEN_PORT_INTROSPECTION_FAILURE,
454 _ ( 454 _ (
455 "Failed to get listen port number (`struct sockaddr_storage` too small!?)\n")); 455 "Failed to get listen port number (`struct sockaddr_storage` too small!?).\n"));
456#endif /* HAVE_MESSAGES */ 456#endif /* HAVE_MESSAGES */
457 return; 457 return;
458 } 458 }
@@ -626,7 +626,7 @@ MHD_polling_thread (void *cls)
626 switch (daemon->event_loop_syscall) 626 switch (daemon->event_loop_syscall)
627 { 627 {
628 case MHD_ELS_AUTO: 628 case MHD_ELS_AUTO:
629 MHD_PANIC ("MHD_ELS_AUTO should have been mapped to preferred style"); 629 MHD_PANIC ("MHD_ELS_AUTO should have been mapped to preferred style.\n");
630 break; 630 break;
631 case MHD_ELS_SELECT: 631 case MHD_ELS_SELECT:
632 MHD_daemon_select_ (daemon, 632 MHD_daemon_select_ (daemon,
@@ -637,7 +637,7 @@ MHD_polling_thread (void *cls)
637 MHD_daemon_poll_ (daemon, 637 MHD_daemon_poll_ (daemon,
638 MHD_YES); 638 MHD_YES);
639#else 639#else
640 MHD_PANIC ("MHD_ELS_POLL not supported, should have failed earlier"); 640 MHD_PANIC ("MHD_ELS_POLL not supported, should have failed earlier.\n");
641#endif 641#endif
642 break; 642 break;
643 case MHD_ELS_EPOLL: 643 case MHD_ELS_EPOLL:
@@ -645,7 +645,7 @@ MHD_polling_thread (void *cls)
645 MHD_daemon_epoll_ (daemon, 645 MHD_daemon_epoll_ (daemon,
646 MHD_YES); 646 MHD_YES);
647#else 647#else
648 MHD_PANIC ("MHD_ELS_EPOLL not supported, should have failed earlier"); 648 MHD_PANIC ("MHD_ELS_EPOLL not supported, should have failed earlier.\n");
649#endif 649#endif
650 break; 650 break;
651 } 651 }
@@ -731,7 +731,7 @@ setup_thread_pool (struct MHD_Daemon *daemon)
731 MHD_DLOG (daemon, 731 MHD_DLOG (daemon,
732 MHD_SC_ITC_DESCRIPTOR_TOO_LARGE, 732 MHD_SC_ITC_DESCRIPTOR_TOO_LARGE,
733 _ ( 733 _ (
734 "File descriptor for inter-thread communication channel exceeds maximum value\n")); 734 "File descriptor for inter-thread communication channel exceeds maximum value.\n"));
735#endif 735#endif
736 MHD_itc_destroy_chk_ (d->itc); 736 MHD_itc_destroy_chk_ (d->itc);
737 sc = MHD_SC_ITC_DESCRIPTOR_TOO_LARGE; 737 sc = MHD_SC_ITC_DESCRIPTOR_TOO_LARGE;
@@ -755,7 +755,7 @@ setup_thread_pool (struct MHD_Daemon *daemon)
755#ifdef HAVE_MESSAGES 755#ifdef HAVE_MESSAGES
756 MHD_DLOG (daemon, 756 MHD_DLOG (daemon,
757 MHD_SC_THREAD_POOL_CREATE_MUTEX_FAILURE, 757 MHD_SC_THREAD_POOL_CREATE_MUTEX_FAILURE,
758 _ ("MHD failed to initialize cleanup connection mutex\n")); 758 _ ("MHD failed to initialize cleanup connection mutex.\n"));
759#endif 759#endif
760 if (! daemon->disable_itc) 760 if (! daemon->disable_itc)
761 MHD_itc_destroy_chk_ (d->itc); 761 MHD_itc_destroy_chk_ (d->itc);
@@ -879,7 +879,7 @@ MHD_daemon_start (struct MHD_Daemon *daemon)
879 MHD_DLOG (daemon, 879 MHD_DLOG (daemon,
880 MHD_SC_ITC_DESCRIPTOR_TOO_LARGE, 880 MHD_SC_ITC_DESCRIPTOR_TOO_LARGE,
881 _ ( 881 _ (
882 "File descriptor for inter-thread communication channel exceeds maximum value\n")); 882 "File descriptor for inter-thread communication channel exceeds maximum value.\n"));
883#endif 883#endif
884 return MHD_SC_ITC_DESCRIPTOR_TOO_LARGE; 884 return MHD_SC_ITC_DESCRIPTOR_TOO_LARGE;
885 } 885 }