40 return "connection init";
42 return "connection url received";
44 return "header partially received";
46 return "headers received";
48 return "headers processed";
50 return "continue sending";
52 return "continue sent";
54 return "body received";
56 return "footer partially received";
58 return "footers received";
60 return "headers sending";
62 return "headers sent";
64 return "normal body ready";
66 return "normal body unready";
68 return "chunked body ready";
70 return "chunked body unready";
74 return "footers sending";
76 return "footers sent";
80 return "secure connection init";
82 return "unrecognized connection state";
94 MHD_DLOG (
const struct MHD_Daemon *daemon,
const char *format, ...)
100 va_start (va, format);
101 daemon->custom_error_log (daemon->custom_error_log_cls, format, va);
129 while (
'\0' != *rpos)
139 if ( (
'\0' == rpos[1]) ||
148 num = strtoul (buf3, &end, 16);
151 *wpos = (
unsigned char) num;
171 #ifdef HAVE_CLOCK_GETTIME
172 #ifdef CLOCK_MONOTONIC
175 if (0 == clock_gettime (CLOCK_MONOTONIC, &ts))
internal shared structures
time_t MHD_monotonic_time(void)
size_t MHD_http_unescape(void *cls, struct MHD_Connection *connection, char *val)