#include <internal.h>
Data Fields | |
MHD_AccessHandlerCallback | default_handler |
void * | default_handler_cls |
struct MHD_Connection * | connections |
MHD_AcceptPolicyCallback | apc |
void * | apc_cls |
MHD_RequestCompletedCallback | notify_completed |
void * | notify_completed_cls |
LogCallback | uri_log_callback |
void * | uri_log_callback_cls |
pthread_t | pid |
int | socket_fd |
int | shutdown |
size_t | pool_size |
unsigned int | max_connections |
unsigned int | connection_timeout |
unsigned int | per_ip_connection_limit |
enum MHD_OPTION | options |
unsigned short | port |
Definition at line 616 of file internal.h.
Function to call to check if we should accept or reject an incoming request. May be NULL.
Definition at line 639 of file internal.h.
Referenced by MHD_accept_connection(), and MHD_start_daemon_va().
void* MHD_Daemon::apc_cls |
Closure argument to apc.
Definition at line 644 of file internal.h.
Referenced by MHD_accept_connection(), and MHD_start_daemon_va().
unsigned int MHD_Daemon::connection_timeout |
After how many seconds of inactivity should connections time out? Zero for no timeout.
Definition at line 713 of file internal.h.
Referenced by MHD_connection_handle_idle(), MHD_get_timeout(), MHD_handle_connection(), MHD_start_daemon_va(), and MHD_tls_connection_handle_idle().
struct MHD_Connection* MHD_Daemon::connections [read] |
Linked list of our current connections.
Definition at line 632 of file internal.h.
Referenced by MHD_accept_connection(), MHD_cleanup_connections(), MHD_get_fdset(), MHD_get_timeout(), MHD_select(), and MHD_stop_daemon().
Callback function for all requests.
Definition at line 622 of file internal.h.
Referenced by call_connection_handler(), and MHD_start_daemon_va().
Closure argument to default_handler.
Definition at line 627 of file internal.h.
Referenced by MHD_start_daemon_va().
unsigned int MHD_Daemon::max_connections |
Limit on the number of parallel connections.
Definition at line 707 of file internal.h.
Referenced by MHD_accept_connection(), MHD_cleanup_connections(), and MHD_start_daemon_va().
Function to call when we are done processing a particular request. May be NULL.
Definition at line 650 of file internal.h.
Referenced by MHD_connection_close(), MHD_connection_handle_idle(), and MHD_start_daemon_va().
Closure argument to notify_completed.
Definition at line 655 of file internal.h.
Referenced by MHD_start_daemon_va().
Daemon's options.
Definition at line 724 of file internal.h.
Referenced by MHD_accept_connection(), MHD_cleanup_connections(), MHD_connection_get_fdset(), MHD_connection_handle_write(), MHD_get_fdset(), MHD_run(), MHD_select(), MHD_start_daemon_va(), MHD_stop_daemon(), parse_connection_headers(), and try_ready_normal_body().
unsigned int MHD_Daemon::per_ip_connection_limit |
Maximum number of connections per IP, or 0 for unlimited.
Definition at line 719 of file internal.h.
Referenced by MHD_accept_connection(), and MHD_start_daemon_va().
pthread_t MHD_Daemon::pid |
PID of the select thread (if we have internal select)
Definition at line 687 of file internal.h.
Referenced by MHD_start_daemon_va(), and MHD_stop_daemon().
size_t MHD_Daemon::pool_size |
Size of the per-connection memory pools.
Definition at line 702 of file internal.h.
Referenced by MHD_connection_get_fdset(), MHD_start_daemon_va(), and try_ready_chunked_body().
unsigned short MHD_Daemon::port |
Are we shutting down?
Definition at line 697 of file internal.h.
Referenced by MHD_cleanup_connections(), MHD_get_fdset(), MHD_handle_connection(), MHD_run(), MHD_select(), MHD_select_thread(), and MHD_stop_daemon().
Listen socket.
Definition at line 692 of file internal.h.
Referenced by MHD_accept_connection(), MHD_get_fdset(), MHD_select(), MHD_start_daemon_va(), and MHD_stop_daemon().
Function to call with the full URI at the beginning of request processing. May be NULL.
Returns the initial pointer to internal state kept by the client for the request.
Definition at line 664 of file internal.h.
Referenced by MHD_start_daemon_va(), and parse_initial_message_line().
Closure argument to uri_log_callback.
Definition at line 669 of file internal.h.
Referenced by MHD_start_daemon_va().