| /httpd/modules/aaa/ |
| H A D | mod_authn_socache.c | 271 strlen(r->server->server_hostname) + 1); 272 strcpy(new_context, r->server->server_hostname); 276 else if (!strcmp(context, "server")) { 277 context = r->server->server_hostname; 335 rv = socache_provider->store(socache_instance, r->server, 375 unsigned char val[MAX_VAL_LEN]; local 382 rv = socache_provider->retrieve(socache_instance, r->server, 384 val, &vallen, r->pool); 396 val[vallen] = 0; 406 rv = ap_password_validate(r, user, password, (char*) val); 420 unsigned char val[MAX_VAL_LEN]; local [all...] |
| /httpd/modules/cache/ |
| H A D | mod_cache.c | 70 * virtually all server processing and offering the cache its optimal 72 * server, and behaves as a discrete RFC2616 caching proxy 95 conf = (cache_server_conf *) ap_get_module_config(r->server->module_config, 405 conf = (cache_server_conf *) ap_get_module_config(r->server->module_config, 827 conf = (cache_server_conf *) ap_get_module_config(r->server->module_config, 876 * or act as if the server failed to respond. In the latter case, it MAY 882 * by a backend server via mod_proxy. 1000 * is appropriate _NOT_ to cache the data from the server. There are 1012 * We include 304 Not Modified here too as this is the origin server 1066 /* if the server sai 2350 double val; local [all...] |
| /httpd/modules/database/ |
| H A D | mod_dbd.c | 99 cfg->server = s; 123 new->server = add->server; 148 * if these are called in a server context that contains no mod_dbd 149 * config directives, then we have to create our own server config 161 static const char *dbd_param(cmd_parms *cmd, void *dconf, const char *val) argument 165 svr_cfg *svr = ap_get_module_config(cmd->server->module_config, 171 cfg->name = val; 173 * best done at server startup. This also guarantees that 196 cfg->params = val; 204 dbd_param_int(cmd_parms *cmd, void *dconf, const char *val) argument [all...] |
| /httpd/modules/filters/ |
| H A D | mod_reqtimeout.c | 471 #define MERGE_INT(cfg, b, a, val) cfg->val = (a->val == UNSET) ? b->val : a->val; 492 static const char *parse_int(apr_pool_t *p, const char *arg, int *val) { argument 494 *val = strtol(arg, &endptr, 10); 502 if (*val < 0) { 511 const char *val) 528 if ((rate_str = ap_strcasestr(val, ",minrat 508 set_reqtimeout_param(reqtimeout_srv_cfg *conf, apr_pool_t *p, const char *key, const char *val) argument 585 char *word, *val; local [all...] |
| /httpd/modules/http/ |
| H A D | http_core.c | 63 cmd->server->keep_alive_timeout = timeout; 66 * set for the main server, because if no http_module directive is used 67 * for a vhost, it will inherit the http_srv_cfg from the main server. 72 if (cmd->server->is_virtual) { 73 cmd->server->keep_alive_timeout_set = 1; 86 cmd->server->keep_alive = arg; 98 cmd->server->keep_alive_max = atoi(arg); 119 if (r->server->server_scheme && 120 (strcmp(r->server->server_scheme, "https") == 0)) 128 if (r->server 282 apr_uint64_t val; local [all...] |
| H A D | http_filters.c | 245 ap_get_module_config(f->r->server->module_config, &core_module); 282 * reading the connection until it is closed by the server." 433 f->r->server->limit_req_fieldsize); 567 static int check_header(void *arg, const char *name, const char *val) argument 584 if (ap_has_cntrl(val)) { 589 name, val); 678 static int uniq_field_values(void *d, const char *key, const char *val) argument 688 e = apr_pstrdup(values->pool, val); 781 vec_next->iov_base = (void*)(t_elt->val); 782 vec_next->iov_len = strlen(t_elt->val); 898 const char *server = NULL; local [all...] |
| H A D | http_protocol.c | 200 int left = r->server->keep_alive_max - r->connection->keepalives; 220 * and the server configuration enables keep-alive; 221 * and the server configuration has a reasonable inter-request timeout; 247 && r->server->keep_alive 248 && (r->server->keep_alive_timeout > 0) 249 && ((r->server->keep_alive_max == 0) 265 if (r->server->keep_alive_max) { 268 (int)apr_time_sec(r->server->keep_alive_timeout), 274 (int)apr_time_sec(r->server->keep_alive_timeout))); 300 && r->server 962 void *val; local 1025 void *val; local [all...] |
| /httpd/modules/ldap/ |
| H A D | util_ldap.c | 125 st = (util_ldap_state_t *) ap_get_module_config(r->server->module_config, 175 * the LDAP server. It is used to bring the connection back to a known 269 (util_ldap_state_t *)ap_get_module_config(r->server->module_config, 333 ap_log_error(APLOG_MARK, APLOG_ERR, rc, r->server, APLOGNO(01277) 377 ap_log_error(APLOG_MARK, APLOG_TRACE4, 0, r->server, APLOGNO(01278) 386 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, APLOGNO(01279) 400 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, APLOGNO(01280) 408 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, APLOGNO(01281) 455 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(01282) 474 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGN 2680 util_ldap_set_op_timeout(cmd_parms *cmd, void *dummy, const char *val) argument 2720 util_ldap_set_conn_ttl(cmd_parms *cmd, void *dummy, const char *val) argument 2740 util_ldap_set_retry_delay(cmd_parms *cmd, void *dummy, const char *val) argument 2766 util_ldap_set_retries(cmd_parms *cmd, void *dummy, const char *val) argument [all...] |
| /httpd/modules/mappers/ |
| H A D | mod_rewrite.c | 36 * per-server context (httpd.conf) and per-dir context (.htaccess) and even 335 server_rec *server; /* the corresponding server indicator */ member in struct:__anon239 472 (void *)(r->server), 637 * Based on ap_os_escape_path in server/util.c 992 char *val) 1033 apr_pstrdup(map->pool, val)); 1047 char *val = NULL; local 1063 val = apr_hash_get(map->entries, key, APR_HASH_KEY_STRING); 1064 if (val) { 991 set_cache_value(const char *name, apr_time_t t, char *key, char *val) argument 1235 void *val; local 1774 const char *val = apr_table_get(ctx->r->headers_in, name); local 2467 char *name, *val; local 2502 char *val; local 3205 char *val, *nextp, *endp; local 3256 cmd_rewritecond_setflag(apr_pool_t *p, void *_cfg, char *key, char *val) argument 3456 cmd_rewriterule_setflag(apr_pool_t *p, void *_cfg, char *key, char *val) argument [all...] |
| /httpd/modules/metadata/ |
| H A D | mod_env.c | 63 * table_set( res->vars, $element.key, $element.val ); 85 apr_table_setn(res->vars, elts[i].key, elts[i].val); 104 ap_log_error(APLOG_MARK, APLOG_WARNING, 0, cmd->server, APLOGNO(01506) 131 * will only apply unsetenv to the parent env (main server). 175 NULL, /* server config */ 176 NULL, /* merge server configs */
|
| H A D | mod_headers.c | 24 * Valid in both per-server and per-dir configurations. 48 * this order: firstly, the main server, then the virtual server handling 154 * a per-dir and per-server config 214 const char *val = header_ssl_lookup(r->pool, r->server, local 216 if (val && val[0]) 217 return unwrap_header(r->pool, val); 568 const char *val; local 613 const char *val; local 669 echo_header(echo_do *v, const char *key, const char *val) argument 681 edit_header(void *v, const char *key, const char *val) argument 692 add_them_all(void *v, const char *key, const char *val) argument 705 const char *val; local [all...] |
| H A D | mod_setenvif.c | 126 * for both the server-wide and the per-directory contexts. This is 128 * server-wide ones are used in the post-read-request phase, and the 295 * cmd->path == NULL means we're in server-wide context; otherwise, 300 : (sei_cfg_rec *) ap_get_module_config(cmd->server->module_config, 428 * cmd->path == NULL means we're in server-wide context; otherwise, 433 : (sei_cfg_rec *) ap_get_module_config(cmd->server->module_config, 487 * re-doing the server-wide settings during directory processing), and 496 const char *val, *err; local 505 sconf = (sei_cfg_rec *) ap_get_module_config(r->server->module_config, 514 val [all...] |
| /httpd/modules/proxy/ |
| H A D | ajp_header.c | 285 if (ajp_msg_append_string(msg, elts[i].val)) { 293 i, elts[i].key, elts[i].val); 357 if ((envvar = ap_proxy_ssl_val(r->pool, r->server, r->connection, r, 369 if ((envvar = ap_proxy_ssl_val(r->pool, r->server, r->connection, r, 381 if ((envvar = ap_proxy_ssl_val(r->pool, r->server, r->connection, r, 394 if ((envvar = ap_proxy_ssl_val(r->pool, r->server, r->connection, r, 423 if ((envvar = ap_proxy_ssl_val(r->pool, r->server, r->connection, r, 447 char *val = apr_itoa(r->pool, r->useragent_addr->port); local 450 ajp_msg_append_string(msg, val)) { 454 key, val); 467 char *val = r->connection->local_ip; local 532 addit_dammit(void *v, const char *key, const char *val) argument [all...] |
| H A D | mod_proxy.c | 61 const char *val) 71 worker->s->lbfactor = atoi(val); 80 ival = atoi(val); 90 ival = atoi(val); 98 ival = atoi(val); 106 ival = atoi(val); 116 ival = atoi(val); 126 if (ap_timeout_parameter_parse(val, &timeout, "ms") != APR_SUCCESS) 135 * Defaults to server timeout. 137 ival = atoi(val); 58 set_worker_param(apr_pool_t *p, proxy_worker *worker, const char *key, const char *val) argument 281 set_balancer_param(proxy_server_conf *conf, apr_pool_t *p, proxy_balancer *balancer, const char *key, const char *val) argument 556 const char *val; local 1667 char *val = strchr(word, '='); local 2215 char *val; local 2295 char *word, *val; local 2393 char *word, *val; local [all...] |
| H A D | mod_proxy_balancer.c | 231 ap_proxy_retry_worker_fn("BALANCER", worker, r->server); 255 ap_proxy_retry_worker_fn("BALANCER", rworker, r->server); 354 * By default the timeout is not set, and the server 484 force_recovery(*balancer, r->server); 488 ap_proxy_sync_balancer(*balancer, r->server, conf); 495 (*balancer)->lbmethod->updatelbstatus(*balancer, runtime, r->server); 640 int val = ((int *)balancer->errstatuses->elts)[i]; local 641 if (r->status == val) { 647 val); 938 char *tok, *val; local 1073 const char *val; local 1124 const char *val; local [all...] |
| H A D | mod_proxy_express.c | 35 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module); 49 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module); 60 sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module); 113 apr_datum_t key, val; local 118 sconf = ap_get_module_config(r->server->module_config, &proxy_express_module); 146 rv = apr_dbm_fetch(db, key, &val); 152 backend = apr_pstrmemdup(r->pool, val.dptr, val.dsize); 160 r->handler = "proxy-server"; 218 server_create, /* create per-server confi [all...] |
| H A D | mod_proxy_wstunnel.c | 151 ap_proxy_release_connection(baton->scheme, baton->proxy_connrec, baton->r->server); 501 r->server); 505 ap_proxy_release_connection(scheme, backend, r->server); 526 if (ap_proxy_connect_backend(scheme, backend, worker, r->server)) { 536 c, r->server)) != OK) 550 ap_proxy_release_connection(scheme, backend, r->server); 565 static const char * proxyws_set_idle(cmd_parms *cmd, void *conf, const char *val) argument 568 if (ap_timeout_parameter_parse(val, &(dconf->idle_timeout), "s") != APR_SUCCESS) 572 static const char * proxyws_set_aysnch_delay(cmd_parms *cmd, void *conf, const char *val) argument 575 if (ap_timeout_parameter_parse(val, [all...] |
| /httpd/modules/ssl/ |
| H A D | ssl_engine_config.c | 49 return vmc; /* reused for lifetime of the server */ 53 * allocate an own subpool which survives server restarts 191 mctx = sc->server = apr_palloc(p, sizeof(*sc->server)); 239 * Create per-server SSL configuration 346 * Merge per-server SSL configurations 376 modssl_ctx_cfg_merge_server(p, base->server, add->server, mrg->server); 454 SSLSrvConfigRec *sc = mySrvConfig(cmd->server); 1286 int val; local [all...] |
| H A D | ssl_engine_kernel.c | 85 ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, r->server); 121 SSLSrvConfigRec *sc = mySrvConfig(r->server); 148 "server port.<br />\n Instead use the HTTPS scheme to " 194 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02031) 204 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02032) 211 || (mySrvConfig(sslconn->server))->strict_sni_vhost_check 218 * server config we used for handshaking or in our current server. 221 ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02033) 227 "which is required to access this server 915 char *val = ssl_var_lookup(r->pool, r->server, r->connection, local 1163 char *var, *val = ""; local [all...] |
| /httpd/os/unix/ |
| H A D | unixd.c | 72 ap_log_error(APLOG_MARK, APLOG_ERR, errno, cmd->server, APLOGNO(02172) 86 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, APLOGNO(02173) 99 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, APLOGNO(02174) 116 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd->server, APLOGNO(02175) 238 long val; member in union:semun 404 * Use the CHILDFATAL code to tear the server down. 484 int os_init_job_environment(server_rec *server, const char *user_name, int one_process) argument 496 ap_log_error(APLOG_MARK, APLOG_ERR, 0, server, APLOGNO(02180)
|
| /httpd/server/ |
| H A D | core.c | 90 (apr_pool_t *p, const char *val, apr_hash_t *ht), 91 (p, val, ht), OK, DECLINED) 99 * server operations, including options and commands which control the 103 * to allow a server with the core module ONLY to actually serve documents. 558 * these are part of the core server config. 779 sconf = ap_get_core_module_config(r->server->module_config); 992 /* There are two options regarding what the "name" of a server is. The 1013 retval = r->server->server_hostname; 1020 r->server->server_hostname); 1029 retval = r->hostname ? r->hostname : r->server 3502 int val = 0; local 3528 int val = 0; local 3554 int val = 0; local 5201 const char *val = NULL; local [all...] |
| H A D | listen.c | 71 static apr_status_t make_sock(apr_pool_t *p, ap_listen_rec *server, int do_bind_listen) argument 73 apr_socket_t *s = server->sd; 89 server->bind_addr); 99 server->bind_addr); 129 server->bind_addr); 139 server->bind_addr); 158 server->bind_addr); 167 if (server->bind_addr->family == APR_INET6) { 173 server->bind_addr); 180 if ((stat = apr_socket_bind(s, server 244 ap_apply_accept_filter(apr_pool_t *p, ap_listen_rec *lis, server_rec *server) argument 782 val = num_online_cores / ap_listencbratio; local [all...] |
| H A D | util_debug.c | 185 &r->server->log; 201 * @param val The module-specific data to set 202 * @fn void ap_set_module_config(ap_conf_vector_t *cv, const module *m, void *val) 207 void *val); 211 void *val) 213 ((void **)cv)[m->module_index] = val; 219 AP_DECLARE(void) ap_set_core_module_config(ap_conf_vector_t *cv, void *val); 222 AP_DECLARE(void) ap_set_core_module_config(ap_conf_vector_t *cv, void *val) argument 224 ((void **)cv)[AP_CORE_MODULE_INDEX] = val; 210 ap_set_module_config(ap_conf_vector_t *cv, const module *m, void *val) argument
|
| H A D | util_script.c | 88 static void add_unless_null(apr_table_t *table, const char *name, const char *val) argument 90 if (name && val) { 91 apr_table_addn(table, name, val); 120 env[j] = apr_pstrcat(p, elts[i].key, "=", elts[i].val, NULL); 141 server_rec *s = r->server; 180 apr_table_addn(e, "CONTENT_TYPE", hdrs[i].val); 183 apr_table_addn(e, "CONTENT_LENGTH", hdrs[i].val); 194 add_unless_null(e, http2env(r, hdrs[i].key), hdrs[i].val); 199 add_unless_null(e, http2env(r, hdrs[i].key), hdrs[i].val); 407 static int set_cookie_doo_doo(void *v, const char *key, const char *val) argument [all...] |
| /httpd/support/ |
| H A D | apxs.in | 146 print STDERR "Usage: apxs -g [-S <var>=<val>] -n <modname>\n"; 147 print STDERR " apxs -q [-v] [-S <var>=<val>] [<query> ...]\n"; 148 print STDERR " apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]\n"; 151 print STDERR " apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...\n"; 152 print STDERR " apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...\n"; 173 my ($val) = $2; 181 eval "\$CFG_${var}=\"${val}\""; 196 error("the server binary."); 218 my $val = exists $config_vars{$arg} 221 $val [all...] |