http-server-request.c revision e2a5de324df523512c42086d8422e4e41adf2c28
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2013-2017 Dovecot authors, see the included COPYING file */
57f4445a46726a17bfe78b0964dd301a6ccb40ecTimo Sirainenstatic inline void
20b136f04257b0ba338e49f31a999c0d4b243647Timo Sirainenhttp_server_request_debug(struct http_server_request *req,
57f4445a46726a17bfe78b0964dd301a6ccb40ecTimo Sirainenstatic inline void
be044d4f3d08652d7332cdec5aaf8391474908bbTimo Sirainenhttp_server_request_debug(struct http_server_request *req,
be044d4f3d08652d7332cdec5aaf8391474908bbTimo Sirainen const char *format, ...)
const char *format, ...)
const char *format, ...)
struct http_server_request *
static unsigned int id_counter = 0;
return req;
return TRUE;
return FALSE;
void (*callback)(void *),
void *context)
const char *reason)
static const char *response =
const struct http_request *
struct http_server_response *
const char *auth;
i_unreached();
static struct http_server_response *
return resp;
if (close)
struct http_server_istream {
static ssize_t
return ret;
struct istream *
bool blocking)
struct http_server_payload_handler_pump {
void (*callback)(void *);
void *context;
if (success) {
int ret;
if (ret < 0) {
struct http_server_payload_handler_raw {
void *context;