69 "protocol switch: current proto != http/1.1, declined");
75 "protocol propose: connection requirements not met");
93 "upgrade without HTTP2-Settings declined");
100 "upgrade without HTTP2-Settings declined");
110 "upgrade with body declined");
121 "proposing protocol '%s'", *protos);
130#if AP_HAS_RESPONSE_BUCKETS
135 while (
f &&
f->frec->ftype < ftype) {
146 while (
f &&
f->frec->ftype < ftype) {
159 const char **
p = protos;
176 "switching protocol to '%s'",
protocol);
181#if AP_HAS_RESPONSE_BUCKETS
APR-UTIL registration of functions exported by modules.
Apache optional hook functions.
void ap_remove_input_filter(ap_filter_t *f)
apr_status_t ap_remove_input_filter_byhandle(ap_filter_t *next, const char *handle)
apr_status_t ap_remove_output_filter_byhandle(ap_filter_t *next, const char *handle)
void ap_remove_output_filter(ap_filter_t *f)
void ap_hook_protocol_get(ap_HOOK_protocol_get_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
void ap_hook_protocol_propose(ap_HOOK_protocol_propose_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
const char * ap_get_protocol(conn_rec *c)
void ap_hook_protocol_switch(ap_HOOK_protocol_switch_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
#define AP_PROTOCOL_HTTP1
int ap_ssl_conn_is_ssl(conn_rec *c)
apr_brigade_flush void * ctx
int ap_find_token(apr_pool_t *p, const char *line, const char *tok)
int ap_array_str_contains(const apr_array_header_t *array, const char *s)
const char int apr_pool_t * pool
apr_vformatter_buff_t * c
#define APR_ARRAY_PUSH(ary, type)
apr_status_t h2_c1_run(conn_rec *c)
apr_status_t h2_c1_setup(conn_rec *c, request_rec *r, server_rec *s)
int h2_c1_can_upgrade(request_rec *r)
int h2_mpm_supported(void)
h2_conn_ctx_t * h2_conn_ctx_create_for_c1(conn_rec *c1, server_rec *s, const char *protocol)
void h2_conn_ctx_detach(conn_rec *c)
#define h2_conn_ctx_get(c)
const char * h2_protocol_ids_tls[]
int h2_protocol_is_acceptable_c1(conn_rec *c, request_rec *r, int require_all)
const char * h2_protocol_ids_clear[]
void h2_switch_register_hooks(void)
static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s, const char *protocol)
static int h2_protocol_propose(conn_rec *c, request_rec *r, server_rec *s, const apr_array_header_t *offers, apr_array_header_t *proposals)
static const char * h2_protocol_get(const conn_rec *c)
apr_status_t h2_switch_init(apr_pool_t *pool, server_rec *s)
Apache connection library.
The representation of a filter chain.
Structure to store things which are per connection.
A structure that represents the current request.
struct ap_filter_t * output_filters
struct ap_filter_t * input_filters
A structure to store information for each virtual server.