Lines Matching refs:daemon
271 struct MHD_Daemon *daemon; in MHD_connection_close() local
273 daemon = connection->daemon; in MHD_connection_close()
274 if (0 == (connection->daemon->options & MHD_USE_EPOLL_TURBO)) in MHD_connection_close()
279 if ( (NULL != daemon->notify_completed) && in MHD_connection_close()
281 daemon->notify_completed (daemon->notify_completed_cls, in MHD_connection_close()
302 MHD_DLOG (connection->daemon, emsg); in connection_close_error()
349 (0 == (connection->daemon->options & MHD_USE_SSL)) ) in try_ready_normal_body()
411 size = connection->daemon->pool_size; in try_ready_chunked_body()
614 new_size = connection->daemon->pool_size / 2;
691 if ( (0 == (connection->daemon->options & MHD_SUPPRESS_DATE_NO_CLOCK)) &&
850 MHD_DLOG (connection->daemon,
944 MHD_DLOG (connection->daemon,
982 MHD_DLOG (connection->daemon,
1030 (0 != (connection->daemon->options &
1184 MHD_DLOG (connection->daemon,
1223 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1235 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1239 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1252 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1271 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1275 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1313 MHD_DLOG (connection->daemon,
1411 if (NULL != connection->daemon->uri_log_callback)
1413 = connection->daemon->uri_log_callback (connection->daemon->uri_log_callback_cls,
1423 connection->daemon->unescape_callback (connection->daemon->unescape_callback_cls,
1452 connection->daemon->default_handler (connection->daemon-> default_handler_cls,
1608 connection->daemon->default_handler (connection->daemon->default_handler_cls,
1897 if ( (0 != (MHD_USE_PEDANTIC_CHECKS & connection->daemon->options)) &&
1909 MHD_DLOG (connection->daemon,
1945 MHD_DLOG (connection->daemon,
1969 struct MHD_Daemon *daemon = connection->daemon; local
1972 if (connection->connection_timeout != daemon->connection_timeout)
1976 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
1977 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
1979 XDLL_remove (daemon->normal_timeout_head,
1980 daemon->normal_timeout_tail,
1982 XDLL_insert (daemon->normal_timeout_head,
1983 daemon->normal_timeout_tail,
1985 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
1986 (MHD_YES != MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) )
2007 if (connection->read_buffer_offset + connection->daemon->pool_increment >
2015 MHD_DLOG (connection->daemon, "%s: state: %s\n",
2072 MHD_DLOG (connection->daemon, "%s: state: %s\n",
2098 MHD_DLOG (connection->daemon,
2157 MHD_DLOG (connection->daemon,
2221 struct MHD_Daemon *daemon = connection->daemon; local
2228 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
2229 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
2231 if (connection->connection_timeout == daemon->connection_timeout)
2232 XDLL_remove (daemon->normal_timeout_head,
2233 daemon->normal_timeout_tail,
2236 XDLL_remove (daemon->manual_timeout_head,
2237 daemon->manual_timeout_tail,
2240 DLL_remove (daemon->suspended_connections_head,
2241 daemon->suspended_connections_tail,
2244 DLL_remove (daemon->connections_head,
2245 daemon->connections_tail,
2247 DLL_insert (daemon->cleanup_head,
2248 daemon->cleanup_tail,
2253 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
2254 (MHD_YES != MHD_mutex_unlock_(&daemon->cleanup_connection_mutex)) )
2270 struct MHD_Daemon *daemon = connection->daemon; local
2280 MHD_DLOG (daemon,
2576 if ( (NULL != daemon->notify_completed) &&
2579 daemon->notify_completed (daemon->notify_completed_cls,
2659 EDLL_insert (daemon->eready_head,
2660 daemon->eready_tail,
2670 EDLL_insert (daemon->eready_head,
2671 daemon->eready_tail,
2682 EDLL_insert (daemon->eready_head,
2683 daemon->eready_tail,
2711 struct MHD_Daemon *daemon = connection->daemon; local
2713 if ( (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) &&
2727 if (0 != epoll_ctl (daemon->epoll_fd,
2733 if (0 != (daemon->options & MHD_USE_DEBUG))
2734 MHD_DLOG (daemon,
2799 return (const union MHD_ConnectionInfo *) &connection->daemon;
2825 struct MHD_Daemon *daemon; local
2827 daemon = connection->daemon;
2831 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
2832 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
2836 if (connection->connection_timeout == daemon->connection_timeout)
2837 XDLL_remove (daemon->normal_timeout_head,
2838 daemon->normal_timeout_tail,
2841 XDLL_remove (daemon->manual_timeout_head,
2842 daemon->manual_timeout_tail,
2850 if (connection->connection_timeout == daemon->connection_timeout)
2851 XDLL_insert (daemon->normal_timeout_head,
2852 daemon->normal_timeout_tail,
2855 XDLL_insert (daemon->manual_timeout_head,
2856 daemon->manual_timeout_tail,
2859 if ( (0 != (daemon->options & MHD_USE_THREAD_PER_CONNECTION)) &&
2860 (MHD_YES != MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) )