10#if defined(NO_RESPONSE_BUFFERING) && defined(USE_HTTP2)
11#error "HTTP2 works only if NO_RESPONSE_BUFFERING is not set"
19#if !defined(NO_RESPONSE_BUFFERING)
44 const char *http_version = conn->
request_info.http_version;
47 if ((status_code < 100) || (status_code > 999)) {
75 if ((conn ==
NULL) || (status < 100) || (status > 999)) {
93#if !defined(NO_RESPONSE_BUFFERING)
125#if !defined(NO_RESPONSE_BUFFERING)
143#if !defined(NO_RESPONSE_BUFFERING)
229 for (i = 0; i <
num_hdr; i++) {
244#if defined(USE_HTTP2)
261#if !defined(NO_RESPONSE_BUFFERING)
284#if !defined(NO_RESPONSE_BUFFERING)
285#if defined(USE_HTTP2)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
#define mg_malloc_ctx(a, c)
@ PROTOCOL_TYPE_WEBSOCKET
int mg_printf(struct mg_connection *conn, const char *fmt,...)
const char * mg_get_response_code_text(const struct mg_connection *conn, int response_code)
static void gmt_time_string(char *buf, size_t buf_len, time_t *t)
int mg_write(struct mg_connection *conn, const void *buf, size_t len)
static const char * suggest_connection_header(const struct mg_connection *conn)
static char * mg_strdup_ctx(const char *str, struct mg_context *ctx)
int mg_strcasecmp(const char *s1, const char *s2)
static __inline void mg_free(void *a)
@ CONNECTION_TYPE_REQUEST
int mg_response_header_add(struct mg_connection *conn, const char *header, const char *value, int value_len)
int mg_response_header_send(struct mg_connection *conn)
static int parse_http_headers(char **buf, struct mg_header hdr[MG_MAX_HEADERS])
int mg_response_header_add_lines(struct mg_connection *conn, const char *http1_headers)
static void send_http1_response_status_line(struct mg_connection *conn)
static void free_buffered_response_header_list(struct mg_connection *conn)
int mg_response_header_start(struct mg_connection *conn, int status)
struct mg_response_info response_info
struct mg_request_info request_info
struct mg_context * phys_ctx