Home
last modified time | relevance | path

Searched refs:srv_conf (Results 1 – 25 of 151) sorted by relevance

1234567

/dports/www/obhttpd/httpd-7.0.20211221/src/usr.sbin/httpd/
H A Dconfig.c185 srv->srv_conf.name, srv->srv_conf.id, in config_setserver()
258 struct server_config *srv_conf = &srv->srv_conf; in config_settls() local
333 srv_conf = &srv->srv_conf; in config_getserver_fcgiparams()
361 struct server_config *srv_conf = &srv->srv_conf; in config_setserver_fcgiparams() local
402 struct server_config *srv_conf = &srv->srv_conf; in config_setserver_tls() local
464 memcpy(srv_conf, p, sizeof(*srv_conf)); in config_getserver_config()
631 memcpy(&srv_conf, p, sizeof(srv_conf)); in config_getserver()
644 &srv_conf.ss, srv_conf.port)) != NULL) { in config_getserver()
662 memcpy(&srv->srv_conf, &srv_conf, sizeof(srv->srv_conf)); in config_getserver()
676 srv->srv_conf.name, srv->srv_conf.id, in config_getserver()
[all …]
H A Dparse.y271 s->srv_conf.parent_id = s->srv_conf.id;
319 srv_conf = &srv->srv_conf;
330 srv_conf = &srv->srv_conf;
418 srv->srv_conf.name, srv->srv_conf.id);
611 s->srv_conf.parent_id = srv->srv_conf.id;
629 s->srv_conf.port = srv->srv_conf.port;
640 srv_conf = &srv->srv_conf;
675 srv_conf = &parentsrv->srv_conf;
802 srv_conf->location, srv_conf->name, srv_conf->id,
2279 memcpy(&dst->srv_conf, &src->srv_conf, sizeof(dst->srv_conf)); in server_inherit()
[all …]
H A Dserver.c120 s->srv_conf.port == srv->srv_conf.port && in server_privinit()
129 srv->srv_conf.port, &srv->srv_conf)) == -1) in server_privinit()
289 srv->srv_conf.tls_cert, srv->srv_conf.tls_cert_len, in server_tls_init()
290 srv->srv_conf.tls_key, srv->srv_conf.tls_key_len, in server_tls_init()
321 srv_conf->tls_cert, srv_conf->tls_cert_len, in server_tls_init()
322 srv_conf->tls_key, srv_conf->tls_key_len, in server_tls_init()
465 if (srv_conf != &srv->srv_conf) { in server_purge()
491 freezero(srv_conf->tls_cert, srv_conf->tls_cert_len); in serverconfig_free()
492 freezero(srv_conf->tls_key, srv_conf->tls_key_len); in serverconfig_free()
590 if (strcmp(s1->srv_conf.name, s2->srv_conf.name) != 0) in server_match()
[all …]
H A Dlogger.c210 srv_conf->logaccess = srv_conf->logerror = NULL; in logger_open()
215 if (strcmp(log->log_name, srv_conf->errorlog) == 0) in logger_open()
220 if ((srv_conf->logaccess = in logger_open()
224 srv_conf->logaccess = logfile; in logger_open()
227 if ((srv_conf->logerror = in logger_open()
228 logger_open_file(srv_conf->errorlog)) == NULL) in logger_open()
231 srv_conf->logerror = errfile; in logger_open()
250 struct server_config *srv_conf; in logger_log() local
256 if ((srv_conf = serverconfig_byid(id)) == NULL) in logger_log()
260 log = srv_conf->logaccess; in logger_log()
[all …]
H A Dserver_http.c1245 if (print_host(&srv_conf->ss,
1254 ntohs(srv_conf->port));
1281 struct server_config *srv_conf = &srv->srv_conf; local
1364 srv_conf = NULL;
1370 if (srv_conf != NULL) {
1380 srv_conf = clt->clt_srv_conf;
1446 srv_conf->maxrequestbody) {
1453 srv_conf->return_uri);
1521 return (srv_conf);
1531 srv_conf->flags) == 0)
[all …]
H A Dserver_fcgi.c104 if ((fd = socket(srv_conf->fastcgi_ss.ss_family, in server_fcgi()
108 srv_conf->fastcgi_ss.ss_len)) == -1) { in server_fcgi()
186 if (scriptlen < strlen(srv_conf->root)) in server_fcgi()
187 scriptlen = strlen(srv_conf->root); in server_fcgi()
218 srv_conf->fcgistrip), clt) == -1) { in server_fcgi()
235 srv_conf->root, srv_conf->fcgistrip), clt) == -1) { in server_fcgi()
250 if (srv_conf->flags & SRVFLAG_AUTH) { in server_fcgi()
264 if (srv_conf->flags & SRVFLAG_TLS) { in server_fcgi()
372 srv_conf->timeout.tv_sec, srv_conf->timeout.tv_sec); in server_fcgi()
669 if (srv_conf->flags & SRVFLAG_SERVER_HSTS && in server_fcgi_header()
[all …]
H A Dserver_file.c74 if (srv_conf->flags & SRVFLAG_NO_INDEX) { in server_file_access()
104 srv_conf->index) == -1) in server_file_access()
171 if (srv_conf->flags & SRVFLAG_FCGI) in server_file()
178 srv_conf->strip); in server_file()
180 srv_conf->root, stripped) >= sizeof(path)) { in server_file()
235 media = media_find_config(env, srv_conf, path); in server_file_request()
246 media = media_find_config(env, srv_conf, path); in server_file_request()
278 srv_conf->timeout.tv_sec, srv_conf->timeout.tv_sec); in server_file_request()
329 media = media_find_config(env, srv_conf, path); in server_partial_file_request()
413 srv_conf->timeout.tv_sec, srv_conf->timeout.tv_sec); in server_partial_file_request()
[all …]
H A Dhttpd.c299 if (srv->srv_conf.flags & SRVFLAG_LOCATION) in parent_configure()
302 if (srv->srv_conf.flags & SRVFLAG_TLS && in parent_configure()
303 srv->srv_conf.tls_ticket_lifetime) in parent_configure()
475 server_generate_ticket_key(&srv->srv_conf); in parent_tls_ticket_rekey_start()
479 tv.tv_sec = srv->srv_conf.tls_ticket_lifetime / 4; in parent_tls_ticket_rekey_start()
489 server_generate_ticket_key(&srv->srv_conf); in parent_tls_ticket_rekey()
492 sizeof(srv->srv_conf.tls_ticket_key)); in parent_tls_ticket_rekey()
493 explicit_bzero(&srv->srv_conf.tls_ticket_key, in parent_tls_ticket_rekey()
494 sizeof(srv->srv_conf.tls_ticket_key)); in parent_tls_ticket_rekey()
1172 else if (srv_conf->flags & SRVFLAG_DEFAULT_TYPE) in media_find_config()
[all …]
/dports/www/nginx-full/ngx_small_light-0.9.2/src/
H A Dngx_http_small_light_module.c201 ngx_http_small_light_conf_t *srv_conf; in ngx_http_small_light_header_filter() local
461 ngx_http_small_light_conf_t *srv_conf; in ngx_http_small_light_create_srv_conf() local
464 if (srv_conf == NULL) { in ngx_http_small_light_create_srv_conf()
475 srv_conf->patterns.keys.pool = pool; in ngx_http_small_light_create_srv_conf()
480 return srv_conf; in ngx_http_small_light_create_srv_conf()
534 ngx_http_small_light_conf_t *srv_conf; in ngx_http_small_light_pattern_define() local
541 srv_conf = conf; in ngx_http_small_light_pattern_define()
552 hash.hash = &srv_conf->hash; in ngx_http_small_light_pattern_define()
560 … if (ngx_hash_init(&hash, srv_conf->patterns.keys.elts, srv_conf->patterns.keys.nelts) != NGX_OK) { in ngx_http_small_light_pattern_define()
569 ngx_http_small_light_conf_t *srv_conf; in ngx_http_small_light_material_dir() local
[all …]
H A Dngx_http_small_light_param.h28 …ngx_http_small_light_ctx_t *ctx, ngx_str_t *define_pattern, ngx_http_small_light_conf_t *srv_conf);
29 …ams(ngx_http_request_t *r, ngx_http_small_light_ctx_t *ctx, ngx_http_small_light_conf_t *srv_conf);
/dports/security/modsecurity3-nginx/nginx-1.20.0/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-naxsi/nginx-1.20.2/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-lite/nginx-1.20.2/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-devel/nginx-1.21.5/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-full/nginx-1.20.2/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx/nginx-1.20.2/src/http/
H A Dngx_http_config.h19 void **srv_conf; member
51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index]
64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/security/modsecurity3-nginx/nginx-1.20.0/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
208 void **srv_conf; member
255 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
266 (s)->srv_conf[module.ctx_index]
271 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-full/nginx-1.20.2/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
208 void **srv_conf; member
255 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
266 (s)->srv_conf[module.ctx_index]
271 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-lite/nginx-1.20.2/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
208 void **srv_conf; member
255 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
266 (s)->srv_conf[module.ctx_index]
271 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx/nginx-1.20.2/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
208 void **srv_conf; member
255 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
266 (s)->srv_conf[module.ctx_index]
271 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-naxsi/nginx-1.20.2/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
208 void **srv_conf; member
255 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
266 (s)->srv_conf[module.ctx_index]
271 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/www/nginx-devel/nginx-1.21.5/src/stream/
H A Dngx_stream.h39 void **srv_conf; member
211 void **srv_conf; member
258 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf)
269 (s)->srv_conf[module.ctx_index]
274 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
/dports/security/modsecurity3-nginx/nginx-1.20.0/src/mail/
H A Dngx_mail.c111 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); in ngx_mail_block()
112 if (ctx->srv_conf == NULL) { in ngx_mail_block()
137 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_mail_block()
138 if (ctx->srv_conf[mi] == NULL) { in ngx_mail_block()
193 ctx->srv_conf[mi], in ngx_mail_block()
194 cscfp[s]->ctx->srv_conf[mi]); in ngx_mail_block()
329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()
/dports/www/nginx-lite/nginx-1.20.2/src/mail/
H A Dngx_mail.c111 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); in ngx_mail_block()
112 if (ctx->srv_conf == NULL) { in ngx_mail_block()
137 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_mail_block()
138 if (ctx->srv_conf[mi] == NULL) { in ngx_mail_block()
193 ctx->srv_conf[mi], in ngx_mail_block()
194 cscfp[s]->ctx->srv_conf[mi]); in ngx_mail_block()
329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()
/dports/www/nginx-devel/nginx-1.21.5/src/mail/
H A Dngx_mail.c111 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); in ngx_mail_block()
112 if (ctx->srv_conf == NULL) { in ngx_mail_block()
137 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_mail_block()
138 if (ctx->srv_conf[mi] == NULL) { in ngx_mail_block()
193 ctx->srv_conf[mi], in ngx_mail_block()
194 cscfp[s]->ctx->srv_conf[mi]); in ngx_mail_block()
329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()

1234567