Lines Matching refs:srv
156 static unsigned int mod_proxy_parse_forwarded(server *srv, const array *a) in mod_proxy_parse_forwarded() argument
173 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_forwarded()
180 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_forwarded()
192 static http_header_remap_opts * mod_proxy_parse_header_opts(server *srv, const array *a) in mod_proxy_parse_header_opts() argument
201 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
212 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
223 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
234 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
243 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
259 log_error(srv->errh, __FILE__, __LINE__, in mod_proxy_parse_header_opts()
303 if (!config_plugin_values_init(srv, p, cpk, "mod_proxy")) in SETDEFAULTS_FUNC()
315 if (!gw_set_defaults_backend(srv, (gw_plugin_data *)p, cpv->v.a, in SETDEFAULTS_FUNC()
324 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
334 cpv->v.u = (unsigned int)gw_get_defaults_balance(srv, cpv->v.b); in SETDEFAULTS_FUNC()
340 cpv->v.u = mod_proxy_parse_forwarded(srv, cpv->v.a); in SETDEFAULTS_FUNC()
345 cpv->v.v = mod_proxy_parse_header_opts(srv, cpv->v.a); in SETDEFAULTS_FUNC()
366 config_feature_bool(srv, "proxy.force-http10", 0); in SETDEFAULTS_FUNC()
376 for (uint32_t i = 0; i < srv->srvconf.modules->used; ++i) { in SETDEFAULTS_FUNC()
377 buffer *m = &((data_string *)srv->srvconf.modules->data[i])->value; in SETDEFAULTS_FUNC()