|
GNU libmicrohttpd 1.0.9
|
#include <microhttpd.h>
Data Fields | |
| int | cipher_algorithm |
| int | protocol |
| int | suspended |
| unsigned int | connection_timeout |
| unsigned int | http_status |
| MHD_socket | connect_fd |
| size_t | header_size |
| void * | tls_session |
| void * | client_cert |
| struct sockaddr * | client_addr |
| struct MHD_Daemon * | daemon |
| void * | socket_context |
Information about a connection.
Definition at line 2408 of file microhttpd.h.
| int MHD_ConnectionInfo::cipher_algorithm |
Cipher algorithm used, of type "enum gnutls_cipher_algorithm".
Definition at line 2414 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| struct sockaddr* MHD_ConnectionInfo::client_addr |
Address information for the client.
Definition at line 2463 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| void* MHD_ConnectionInfo::client_cert |
GNUtls client certificate handle, of type "gnutls_x509_crt_t".
Definition at line 2458 of file microhttpd.h.
| MHD_socket MHD_ConnectionInfo::connect_fd |
Connect socket
Definition at line 2441 of file microhttpd.h.
Referenced by ahc(), and MHD_get_connection_info().
| unsigned int MHD_ConnectionInfo::connection_timeout |
Amount of second that connection could spend in idle state before automatically disconnected. Zero for no timeout (unlimited idle time).
Definition at line 2431 of file microhttpd.h.
Referenced by ahc(), MHD_get_connection_info(), and scan_live_timeouts().
| struct MHD_Daemon* MHD_ConnectionInfo::daemon |
Which daemon manages this connection (useful in case there are many daemons running).
Definition at line 2469 of file microhttpd.h.
Referenced by MHD_get_connection_info(), and op_info().
| size_t MHD_ConnectionInfo::header_size |
Size of the client's HTTP header. It includes the request line, all request headers, the header section terminating empty line, with all CRLF (or LF) characters.
Definition at line 2448 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| unsigned int MHD_ConnectionInfo::http_status |
HTTP status queued with the response, for MHD_CONNECTION_INFO_HTTP_STATUS.
Definition at line 2436 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| int MHD_ConnectionInfo::protocol |
Protocol used, of type "enum gnutls_protocol".
Definition at line 2419 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| void* MHD_ConnectionInfo::socket_context |
Socket-specific client context. Points to the same address as the "socket_context" of the MHD_NotifyConnectionCallback.
Definition at line 2475 of file microhttpd.h.
Referenced by MHD_get_connection_info().
| int MHD_ConnectionInfo::suspended |
The suspended status of a connection.
Definition at line 2424 of file microhttpd.h.
Referenced by MHD_get_connection_info(), mhd_thinks_suspended(), op_info(), and scan_live_timeouts().
| void* MHD_ConnectionInfo::tls_session |
GNUtls session handle, of type "gnutls_session_t".
Definition at line 2453 of file microhttpd.h.
Referenced by MHD_get_connection_info().