cf 18 core/nginx.c static char *ngx_set_user(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 19 core/nginx.c static char *ngx_set_env(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 20 core/nginx.c static char *ngx_set_priority(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 21 core/nginx.c static char *ngx_set_cpu_affinity(ngx_conf_t *cf, ngx_command_t *cmd, cf 1105 core/nginx.c ngx_set_user(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1109 core/nginx.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1128 core/nginx.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1135 core/nginx.c value = (ngx_str_t *) cf->args->elts; cf 1142 core/nginx.c ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno, cf 1149 core/nginx.c group = (char *) ((cf->args->nelts == 2) ? value[1].data : value[2].data); cf 1154 core/nginx.c ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno, cf 1168 core/nginx.c ngx_set_env(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1180 core/nginx.c value = cf->args->elts; cf 1198 core/nginx.c ngx_set_priority(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1209 core/nginx.c value = cf->args->elts; cf 1238 core/nginx.c ngx_set_cpu_affinity(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1252 core/nginx.c mask = ngx_palloc(cf->pool, (cf->args->nelts - 1) * sizeof(long)); cf 1257 core/nginx.c ccf->cpu_affinity_n = cf->args->nelts - 1; cf 1260 core/nginx.c value = cf->args->elts; cf 1262 core/nginx.c for (n = 1; n < cf->args->nelts; n++) { cf 1265 core/nginx.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1291 core/nginx.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1300 core/nginx.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 12 core/ngx_conf_file.c static ngx_int_t ngx_conf_handler(ngx_conf_t *cf, ngx_int_t last); cf 13 core/ngx_conf_file.c static ngx_int_t ngx_conf_read_token(ngx_conf_t *cf); cf 14 core/ngx_conf_file.c static char *ngx_conf_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 63 core/ngx_conf_file.c ngx_conf_param(ngx_conf_t *cf) cf 70 core/ngx_conf_file.c param = &cf->cycle->conf_param; cf 90 core/ngx_conf_file.c cf->conf_file = &conf_file; cf 91 core/ngx_conf_file.c cf->conf_file->buffer = &b; cf 93 core/ngx_conf_file.c rv = ngx_conf_parse(cf, NULL); cf 95 core/ngx_conf_file.c cf->conf_file = NULL; cf 102 core/ngx_conf_file.c ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename) cf 126 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno, cf 132 core/ngx_conf_file.c prev = cf->conf_file; cf 134 core/ngx_conf_file.c cf->conf_file = &conf_file; cf 136 core/ngx_conf_file.c if (ngx_fd_info(fd, &cf->conf_file->file.info) == -1) { cf 137 core/ngx_conf_file.c ngx_log_error(NGX_LOG_EMERG, cf->log, ngx_errno, cf 141 core/ngx_conf_file.c cf->conf_file->buffer = &buf; cf 143 core/ngx_conf_file.c buf.start = ngx_alloc(NGX_CONF_BUFFER, cf->log); cf 153 core/ngx_conf_file.c cf->conf_file->file.fd = fd; cf 154 core/ngx_conf_file.c cf->conf_file->file.name.len = filename->len; cf 155 core/ngx_conf_file.c cf->conf_file->file.name.data = filename->data; cf 156 core/ngx_conf_file.c cf->conf_file->file.offset = 0; cf 157 core/ngx_conf_file.c cf->conf_file->file.log = cf->log; cf 158 core/ngx_conf_file.c cf->conf_file->line = 1; cf 162 core/ngx_conf_file.c } else if (cf->conf_file->file.fd != NGX_INVALID_FILE) { cf 172 core/ngx_conf_file.c rc = ngx_conf_read_token(cf); cf 191 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "unexpected \"}\""); cf 201 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 212 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 221 core/ngx_conf_file.c if (cf->handler) { cf 228 core/ngx_conf_file.c rv = (*cf->handler)(cf, NULL, cf->handler_conf); cf 237 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, rv); cf 243 core/ngx_conf_file.c rc = ngx_conf_handler(cf, rc); cf 257 core/ngx_conf_file.c if (cf->conf_file->buffer->start) { cf 258 core/ngx_conf_file.c ngx_free(cf->conf_file->buffer->start); cf 262 core/ngx_conf_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 268 core/ngx_conf_file.c cf->conf_file = prev; cf 280 core/ngx_conf_file.c ngx_conf_handler(ngx_conf_t *cf, ngx_int_t last) cf 288 core/ngx_conf_file.c name = cf->args->elts; cf 297 core/ngx_conf_file.c && ngx_modules[i]->type != cf->module_type) cf 320 core/ngx_conf_file.c if (!(cmd->type & cf->cmd_type)) { cf 330 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 337 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 349 core/ngx_conf_file.c if (cf->args->nelts != 2) { cf 355 core/ngx_conf_file.c if (cf->args->nelts < 2) { cf 361 core/ngx_conf_file.c if (cf->args->nelts < 3) { cf 365 core/ngx_conf_file.c } else if (cf->args->nelts > NGX_CONF_MAX_ARGS) { cf 369 core/ngx_conf_file.c } else if (!(cmd->type & argument_number[cf->args->nelts - 1])) cf 380 core/ngx_conf_file.c conf = ((void **) cf->ctx)[ngx_modules[i]->index]; cf 383 core/ngx_conf_file.c conf = &(((void **) cf->ctx)[ngx_modules[i]->index]); cf 385 core/ngx_conf_file.c } else if (cf->ctx) { cf 386 core/ngx_conf_file.c confp = *(void **) ((char *) cf->ctx + cmd->conf); cf 393 core/ngx_conf_file.c rv = cmd->set(cf, cmd, conf); cf 403 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 411 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 419 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 425 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 434 core/ngx_conf_file.c ngx_conf_read_token(ngx_conf_t *cf) cf 454 core/ngx_conf_file.c cf->args->nelts = 0; cf 455 core/ngx_conf_file.c b = cf->conf_file->buffer; cf 457 core/ngx_conf_file.c start_line = cf->conf_file->line; cf 459 core/ngx_conf_file.c file_size = ngx_file_size(&cf->conf_file->file.info); cf 465 core/ngx_conf_file.c if (cf->conf_file->file.offset >= file_size) { cf 467 core/ngx_conf_file.c if (cf->args->nelts > 0) { cf 469 core/ngx_conf_file.c if (cf->conf_file->file.fd == NGX_INVALID_FILE) { cf 470 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 476 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 488 core/ngx_conf_file.c cf->conf_file->line = start_line; cf 497 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 503 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 513 core/ngx_conf_file.c size = (ssize_t) (file_size - cf->conf_file->file.offset); cf 519 core/ngx_conf_file.c n = ngx_read_file(&cf->conf_file->file, b->start + len, size, cf 520 core/ngx_conf_file.c cf->conf_file->file.offset); cf 527 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 542 core/ngx_conf_file.c cf->conf_file->line++; cf 578 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 590 core/ngx_conf_file.c start_line = cf->conf_file->line; cf 596 core/ngx_conf_file.c if (cf->args->nelts == 0) { cf 597 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 609 core/ngx_conf_file.c if (cf->args->nelts != 0) { cf 610 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 681 core/ngx_conf_file.c word = ngx_array_push(cf->args); cf 686 core/ngx_conf_file.c word->data = ngx_pnalloc(cf->pool, b->pos - start + 1); cf 741 core/ngx_conf_file.c ngx_conf_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 748 core/ngx_conf_file.c value = cf->args->elts; cf 751 core/ngx_conf_file.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 753 core/ngx_conf_file.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cf 759 core/ngx_conf_file.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 761 core/ngx_conf_file.c return ngx_conf_parse(cf, &file); cf 767 core/ngx_conf_file.c gl.log = cf->log; cf 771 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, ngx_errno, cf 786 core/ngx_conf_file.c file.data = ngx_pstrdup(cf->pool, &name); cf 788 core/ngx_conf_file.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 790 core/ngx_conf_file.c rv = ngx_conf_parse(cf, &file); cf 1008 core/ngx_conf_file.c ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf, ngx_err_t err, cf 1024 core/ngx_conf_file.c if (cf->conf_file == NULL) { cf 1025 core/ngx_conf_file.c ngx_log_error(level, cf->log, 0, "%*s", p - errstr, errstr); cf 1029 core/ngx_conf_file.c if (cf->conf_file->file.fd == NGX_INVALID_FILE) { cf 1030 core/ngx_conf_file.c ngx_log_error(level, cf->log, 0, "%*s in command line", cf 1035 core/ngx_conf_file.c ngx_log_error(level, cf->log, 0, "%*s in %s:%ui", cf 1037 core/ngx_conf_file.c cf->conf_file->file.name.data, cf->conf_file->line); cf 1042 core/ngx_conf_file.c ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1056 core/ngx_conf_file.c value = cf->args->elts; cf 1065 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1074 core/ngx_conf_file.c return post->post_handler(cf, post, fp); cf 1082 core/ngx_conf_file.c ngx_conf_set_str_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1095 core/ngx_conf_file.c value = cf->args->elts; cf 1101 core/ngx_conf_file.c return post->post_handler(cf, post, field); cf 1109 core/ngx_conf_file.c ngx_conf_set_str_array_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1120 core/ngx_conf_file.c *a = ngx_array_create(cf->pool, 4, sizeof(ngx_str_t)); cf 1131 core/ngx_conf_file.c value = cf->args->elts; cf 1137 core/ngx_conf_file.c return post->post_handler(cf, post, s); cf 1145 core/ngx_conf_file.c ngx_conf_set_keyval_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1157 core/ngx_conf_file.c *a = ngx_array_create(cf->pool, 4, sizeof(ngx_keyval_t)); cf 1168 core/ngx_conf_file.c value = cf->args->elts; cf 1175 core/ngx_conf_file.c return post->post_handler(cf, post, kv); cf 1183 core/ngx_conf_file.c ngx_conf_set_num_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1198 core/ngx_conf_file.c value = cf->args->elts; cf 1206 core/ngx_conf_file.c return post->post_handler(cf, post, np); cf 1214 core/ngx_conf_file.c ngx_conf_set_size_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1228 core/ngx_conf_file.c value = cf->args->elts; cf 1237 core/ngx_conf_file.c return post->post_handler(cf, post, sp); cf 1245 core/ngx_conf_file.c ngx_conf_set_off_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1259 core/ngx_conf_file.c value = cf->args->elts; cf 1268 core/ngx_conf_file.c return post->post_handler(cf, post, op); cf 1276 core/ngx_conf_file.c ngx_conf_set_msec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1290 core/ngx_conf_file.c value = cf->args->elts; cf 1303 core/ngx_conf_file.c return post->post_handler(cf, post, msp); cf 1311 core/ngx_conf_file.c ngx_conf_set_sec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1325 core/ngx_conf_file.c value = cf->args->elts; cf 1338 core/ngx_conf_file.c return post->post_handler(cf, post, sp); cf 1346 core/ngx_conf_file.c ngx_conf_set_bufs_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1359 core/ngx_conf_file.c value = cf->args->elts; cf 1376 core/ngx_conf_file.c ngx_conf_set_enum_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1390 core/ngx_conf_file.c value = cf->args->elts; cf 1405 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1413 core/ngx_conf_file.c ngx_conf_set_bitmask_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1423 core/ngx_conf_file.c value = cf->args->elts; cf 1426 core/ngx_conf_file.c for (i = 1; i < cf->args->nelts; i++) { cf 1436 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1447 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1459 core/ngx_conf_file.c ngx_conf_unsupported(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1466 core/ngx_conf_file.c ngx_conf_deprecated(ngx_conf_t *cf, void *post, void *data) cf 1470 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1480 core/ngx_conf_file.c ngx_conf_check_num_bounds(ngx_conf_t *cf, void *post, void *data) cf 1490 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1500 core/ngx_conf_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 80 core/ngx_conf_file.h char *(*set)(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 161 core/ngx_conf_file.h typedef char *(*ngx_conf_handler_pt)(ngx_conf_t *cf, cf 184 core/ngx_conf_file.h typedef char *(*ngx_conf_post_handler_pt) (ngx_conf_t *cf, cf 221 core/ngx_conf_file.h char * ngx_conf_deprecated(ngx_conf_t *cf, void *post, void *data); cf 222 core/ngx_conf_file.h char *ngx_conf_check_num_bounds(ngx_conf_t *cf, void *post, void *data); cf 317 core/ngx_conf_file.h char *ngx_conf_param(ngx_conf_t *cf); cf 318 core/ngx_conf_file.h char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename); cf 324 core/ngx_conf_file.h void ngx_cdecl ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf, cf 328 core/ngx_conf_file.h char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 329 core/ngx_conf_file.h char *ngx_conf_set_str_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 330 core/ngx_conf_file.h char *ngx_conf_set_str_array_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 332 core/ngx_conf_file.h char *ngx_conf_set_keyval_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 333 core/ngx_conf_file.h char *ngx_conf_set_num_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 334 core/ngx_conf_file.h char *ngx_conf_set_size_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 335 core/ngx_conf_file.h char *ngx_conf_set_off_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 336 core/ngx_conf_file.h char *ngx_conf_set_msec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 337 core/ngx_conf_file.h char *ngx_conf_set_sec_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 338 core/ngx_conf_file.h char *ngx_conf_set_bufs_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 339 core/ngx_conf_file.h char *ngx_conf_set_enum_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 340 core/ngx_conf_file.h char *ngx_conf_set_bitmask_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 19 core/ngx_connection.c ngx_create_listening(ngx_conf_t *cf, void *sockaddr, socklen_t socklen) cf 26 core/ngx_connection.c ls = ngx_array_push(&cf->cycle->listening); cf 33 core/ngx_connection.c sa = ngx_palloc(cf->pool, socklen); cf 66 core/ngx_connection.c ls->addr_text.data = ngx_pnalloc(cf->pool, len); cf 178 core/ngx_connection.h ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, void *sockaddr, cf 1262 core/ngx_cycle.c ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, size_t size, void *tag) cf 1268 core/ngx_cycle.c part = &cf->cycle->shared_memory.part; cf 1293 core/ngx_cycle.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1301 core/ngx_cycle.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1311 core/ngx_cycle.c shm_zone = ngx_list_push(&cf->cycle->shared_memory); cf 1318 core/ngx_cycle.c shm_zone->shm.log = cf->cycle->log; cf 127 core/ngx_cycle.h ngx_shm_zone_t *ngx_shared_memory_add(ngx_conf_t *cf, ngx_str_t *name, cf 238 core/ngx_file.c ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 253 core/ngx_file.c path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); cf 258 core/ngx_file.c value = cf->args->elts; cf 266 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) { cf 273 core/ngx_file.c path->conf_file = cf->conf_file->file.name.data; cf 274 core/ngx_file.c path->line = cf->conf_file->line; cf 276 core/ngx_file.c for (i = 0, n = 2; n < cf->args->nelts; i++, n++) { cf 292 core/ngx_file.c if (ngx_add_path(cf, slot) == NGX_ERROR) { cf 301 core/ngx_file.c ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, ngx_path_t *prev, cf 313 core/ngx_file.c *path = ngx_palloc(cf->pool, sizeof(ngx_path_t)); cf 320 core/ngx_file.c if (ngx_conf_full_name(cf->cycle, &(*path)->name, 0) != NGX_OK) { cf 336 core/ngx_file.c if (ngx_add_path(cf, path) != NGX_OK) { cf 345 core/ngx_file.c ngx_conf_set_access_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 359 core/ngx_file.c value = cf->args->elts; cf 363 core/ngx_file.c for (i = 1; i < cf->args->nelts; i++) { cf 400 core/ngx_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid value \"%V\"", &value[i]); cf 407 core/ngx_file.c ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot) cf 414 core/ngx_file.c p = cf->cycle->pathes.elts; cf 415 core/ngx_file.c for (i = 0; i < cf->cycle->pathes.nelts; i++) { cf 423 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 432 core/ngx_file.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 441 core/ngx_file.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 459 core/ngx_file.c p = ngx_array_push(&cf->cycle->pathes); cf 539 core/ngx_file.c ngx_copy_file_t cf; cf 605 core/ngx_file.c cf.size = -1; cf 606 core/ngx_file.c cf.buf_size = 0; cf 607 core/ngx_file.c cf.access = ext->access; cf 608 core/ngx_file.c cf.time = ext->time; cf 609 core/ngx_file.c cf.log = ext->log; cf 619 core/ngx_file.c if (ngx_copy_file(src->data, name, &cf) == NGX_OK) { cf 670 core/ngx_file.c ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf) cf 687 core/ngx_file.c ngx_log_error(NGX_LOG_CRIT, cf->log, ngx_errno, cf 692 core/ngx_file.c if (cf->size != -1) { cf 693 core/ngx_file.c size = cf->size; cf 697 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 706 core/ngx_file.c len = cf->buf_size ? cf->buf_size : 65536; cf 712 core/ngx_file.c buf = ngx_alloc(len, cf->log); cf 718 core/ngx_file.c cf->access); cf 721 core/ngx_file.c ngx_log_error(NGX_LOG_CRIT, cf->log, ngx_errno, cf 735 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 741 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 750 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 756 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 765 core/ngx_file.c if (cf->time != -1) { cf 766 core/ngx_file.c if (ngx_set_file_time(to, nfd, cf->time) != NGX_OK) { cf 767 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 779 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 786 core/ngx_file.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 130 core/ngx_file.h ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); cf 134 core/ngx_file.h ngx_int_t ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf); cf 139 core/ngx_file.h char *ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 140 core/ngx_file.h char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, cf 142 core/ngx_file.h char *ngx_conf_set_access_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 11 core/ngx_log.c static char *ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 370 core/ngx_log.c ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log) cf 375 core/ngx_log.c value = cf->args->elts; cf 377 core/ngx_log.c for (i = 2; i < cf->args->nelts; i++) { cf 383 core/ngx_log.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 397 core/ngx_log.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 409 core/ngx_log.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 424 core/ngx_log.c ngx_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 428 core/ngx_log.c if (cf->cycle->new_log.file) { cf 432 core/ngx_log.c value = cf->args->elts; cf 441 core/ngx_log.c cf->cycle->new_log.file = ngx_conf_open_file(cf->cycle, &name); cf 442 core/ngx_log.c if (cf->cycle->new_log.file == NULL) { cf 446 core/ngx_log.c if (cf->args->nelts == 2) { cf 447 core/ngx_log.c cf->cycle->new_log.log_level = NGX_LOG_ERR; cf 451 core/ngx_log.c cf->cycle->new_log.log_level = 0; cf 453 core/ngx_log.c return ngx_log_set_levels(cf, &cf->cycle->new_log); cf 200 core/ngx_log.h char *ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log); cf 348 core/ngx_palloc.c ngx_pool_cleanup_file_t *cf; cf 353 core/ngx_palloc.c cf = c->data; cf 355 core/ngx_palloc.c if (cf->fd == fd) { cf 356 core/ngx_palloc.c c->handler(cf); cf 94 core/ngx_resolver.c ngx_resolver_create(ngx_conf_t *cf, ngx_addr_t *addr) cf 100 core/ngx_resolver.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 107 core/ngx_resolver.c r = ngx_calloc(sizeof(ngx_resolver_t), cf->log); cf 114 core/ngx_resolver.c r->event = ngx_calloc(sizeof(ngx_event_t), cf->log); cf 133 core/ngx_resolver.c r->event->log = &cf->cycle->new_log; cf 140 core/ngx_resolver.c r->log = &cf->cycle->new_log; cf 144 core/ngx_resolver.c uc = ngx_calloc(sizeof(ngx_udp_connection_t), cf->log); cf 155 core/ngx_resolver.c uc->log = cf->cycle->new_log; cf 138 core/ngx_resolver.h ngx_resolver_t *ngx_resolver_create(ngx_conf_t *cf, ngx_addr_t *addr); cf 58 event/modules/ngx_rtsig_module.c static char *ngx_check_ngx_overflow_threshold_bounds(ngx_conf_t *cf, cf 723 event/modules/ngx_rtsig_module.c ngx_check_ngx_overflow_threshold_bounds(ngx_conf_t *cf, void *post, void *data) cf 726 event/modules/ngx_rtsig_module.c return ngx_conf_check_num_bounds(cf, post, data); cf 729 event/modules/ngx_rtsig_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 25 event/ngx_event.c static char *ngx_events_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 27 event/ngx_event.c static char *ngx_event_connections(ngx_conf_t *cf, ngx_command_t *cmd, cf 29 event/ngx_event.c static char *ngx_event_use(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 30 event/ngx_event.c static char *ngx_event_debug_connection(ngx_conf_t *cf, ngx_command_t *cmd, cf 428 event/ngx_event.c void ***cf; cf 436 event/ngx_event.c cf = ngx_get_conf(cycle->conf_ctx, ngx_events_module); cf 438 event/ngx_event.c if (cf == NULL) { cf 444 event/ngx_event.c ecf = (*cf)[ngx_event_core_module.ctx_index]; cf 877 event/ngx_event.c ngx_events_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 896 event/ngx_event.c ctx = ngx_pcalloc(cf->pool, sizeof(void *)); cf 901 event/ngx_event.c *ctx = ngx_pcalloc(cf->pool, ngx_event_max_module * sizeof(void *)); cf 916 event/ngx_event.c (*ctx)[ngx_modules[i]->ctx_index] = m->create_conf(cf->cycle); cf 923 event/ngx_event.c pcf = *cf; cf 924 event/ngx_event.c cf->ctx = ctx; cf 925 event/ngx_event.c cf->module_type = NGX_EVENT_MODULE; cf 926 event/ngx_event.c cf->cmd_type = NGX_EVENT_CONF; cf 928 event/ngx_event.c rv = ngx_conf_parse(cf, NULL); cf 930 event/ngx_event.c *cf = pcf; cf 943 event/ngx_event.c rv = m->init_conf(cf->cycle, (*ctx)[ngx_modules[i]->ctx_index]); cf 955 event/ngx_event.c ngx_event_connections(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 966 event/ngx_event.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 971 event/ngx_event.c value = cf->args->elts; cf 974 event/ngx_event.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 980 event/ngx_event.c cf->cycle->connection_n = ecf->connections; cf 987 event/ngx_event.c ngx_event_use(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1000 event/ngx_event.c value = cf->args->elts; cf 1002 event/ngx_event.c if (cf->cycle->old_cycle->conf_ctx) { cf 1003 event/ngx_event.c old_ecf = ngx_event_get_conf(cf->cycle->old_cycle->conf_ctx, cf 1025 event/ngx_event.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1042 event/ngx_event.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1050 event/ngx_event.c ngx_event_debug_connection(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1061 event/ngx_event.c value = cf->args->elts; cf 1071 event/ngx_event.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1081 event/ngx_event.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1095 event/ngx_event.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1105 event/ngx_event.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 42 event/ngx_event_openssl.c static char *ngx_openssl_engine(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 188 event/ngx_event_openssl.c ngx_ssl_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *cert, cf 191 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, cert, 1) != NGX_OK) { cf 204 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, key, 1) != NGX_OK) { cf 222 event/ngx_event_openssl.c ngx_ssl_client_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *cert, cf 235 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, cert, 1) != NGX_OK) { cf 270 event/ngx_event_openssl.c ngx_ssl_crl(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *crl) cf 279 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, crl, 1) != NGX_OK) { cf 400 event/ngx_event_openssl.c ngx_ssl_dhparam(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file) cf 454 event/ngx_event_openssl.c if (ngx_conf_full_name(cf->cycle, file, 1) != NGX_OK) { cf 2277 event/ngx_event_openssl.c ngx_openssl_engine(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2290 event/ngx_event_openssl.c value = cf->args->elts; cf 2295 event/ngx_event_openssl.c ngx_ssl_error(NGX_LOG_WARN, cf->log, 0, cf 2301 event/ngx_event_openssl.c ngx_ssl_error(NGX_LOG_WARN, cf->log, 0, cf 97 event/ngx_event_openssl.h ngx_int_t ngx_ssl_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, cf 99 event/ngx_event_openssl.h ngx_int_t ngx_ssl_client_certificate(ngx_conf_t *cf, ngx_ssl_t *ssl, cf 101 event/ngx_event_openssl.h ngx_int_t ngx_ssl_crl(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *crl); cf 103 event/ngx_event_openssl.h ngx_int_t ngx_ssl_dhparam(ngx_conf_t *cf, ngx_ssl_t *ssl, ngx_str_t *file); cf 44 http/modules/ngx_http_access_module.c static char *ngx_http_access_rule(ngx_conf_t *cf, ngx_command_t *cmd, cf 46 http/modules/ngx_http_access_module.c static void *ngx_http_access_create_loc_conf(ngx_conf_t *cf); cf 47 http/modules/ngx_http_access_module.c static char *ngx_http_access_merge_loc_conf(ngx_conf_t *cf, cf 49 http/modules/ngx_http_access_module.c static ngx_int_t ngx_http_access_init(ngx_conf_t *cf); cf 237 http/modules/ngx_http_access_module.c ngx_http_access_rule(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 252 http/modules/ngx_http_access_module.c value = cf->args->elts; cf 261 http/modules/ngx_http_access_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 267 http/modules/ngx_http_access_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 279 http/modules/ngx_http_access_module.c alcf->rules6 = ngx_array_create(cf->pool, 4, cf 305 http/modules/ngx_http_access_module.c alcf->rules = ngx_array_create(cf->pool, 4, cf 327 http/modules/ngx_http_access_module.c ngx_http_access_create_loc_conf(ngx_conf_t *cf) cf 331 http/modules/ngx_http_access_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_access_loc_conf_t)); cf 341 http/modules/ngx_http_access_module.c ngx_http_access_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 361 http/modules/ngx_http_access_module.c ngx_http_access_init(ngx_conf_t *cf) cf 366 http/modules/ngx_http_access_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 26 http/modules/ngx_http_addition_filter_module.c static void *ngx_http_addition_create_conf(ngx_conf_t *cf); cf 27 http/modules/ngx_http_addition_filter_module.c static char *ngx_http_addition_merge_conf(ngx_conf_t *cf, void *parent, cf 29 http/modules/ngx_http_addition_filter_module.c static ngx_int_t ngx_http_addition_filter_init(ngx_conf_t *cf); cf 196 http/modules/ngx_http_addition_filter_module.c ngx_http_addition_filter_init(ngx_conf_t *cf) cf 209 http/modules/ngx_http_addition_filter_module.c ngx_http_addition_create_conf(ngx_conf_t *cf) cf 213 http/modules/ngx_http_addition_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_addition_conf_t)); cf 232 http/modules/ngx_http_addition_filter_module.c ngx_http_addition_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 240 http/modules/ngx_http_addition_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 32 http/modules/ngx_http_auth_basic_module.c static void *ngx_http_auth_basic_create_loc_conf(ngx_conf_t *cf); cf 33 http/modules/ngx_http_auth_basic_module.c static char *ngx_http_auth_basic_merge_loc_conf(ngx_conf_t *cf, cf 35 http/modules/ngx_http_auth_basic_module.c static ngx_int_t ngx_http_auth_basic_init(ngx_conf_t *cf); cf 36 http/modules/ngx_http_auth_basic_module.c static char *ngx_http_auth_basic(ngx_conf_t *cf, void *post, void *data); cf 37 http/modules/ngx_http_auth_basic_module.c static char *ngx_http_auth_basic_user_file(ngx_conf_t *cf, ngx_command_t *cmd, cf 368 http/modules/ngx_http_auth_basic_module.c ngx_http_auth_basic_create_loc_conf(ngx_conf_t *cf) cf 372 http/modules/ngx_http_auth_basic_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_auth_basic_loc_conf_t)); cf 382 http/modules/ngx_http_auth_basic_module.c ngx_http_auth_basic_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 400 http/modules/ngx_http_auth_basic_module.c ngx_http_auth_basic_init(ngx_conf_t *cf) cf 405 http/modules/ngx_http_auth_basic_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 419 http/modules/ngx_http_auth_basic_module.c ngx_http_auth_basic(ngx_conf_t *cf, void *post, void *data) cf 433 http/modules/ngx_http_auth_basic_module.c basic = ngx_pnalloc(cf->pool, len); cf 450 http/modules/ngx_http_auth_basic_module.c ngx_http_auth_basic_user_file(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 461 http/modules/ngx_http_auth_basic_module.c value = cf->args->elts; cf 465 http/modules/ngx_http_auth_basic_module.c ccv.cf = cf; cf 54 http/modules/ngx_http_autoindex_module.c static ngx_int_t ngx_http_autoindex_init(ngx_conf_t *cf); cf 55 http/modules/ngx_http_autoindex_module.c static void *ngx_http_autoindex_create_loc_conf(ngx_conf_t *cf); cf 56 http/modules/ngx_http_autoindex_module.c static char *ngx_http_autoindex_merge_loc_conf(ngx_conf_t *cf, cf 624 http/modules/ngx_http_autoindex_module.c ngx_http_autoindex_create_loc_conf(ngx_conf_t *cf) cf 628 http/modules/ngx_http_autoindex_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_autoindex_loc_conf_t)); cf 642 http/modules/ngx_http_autoindex_module.c ngx_http_autoindex_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 656 http/modules/ngx_http_autoindex_module.c ngx_http_autoindex_init(ngx_conf_t *cf) cf 661 http/modules/ngx_http_autoindex_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 63 http/modules/ngx_http_browser_module.c ngx_http_browser_conf_t *cf); cf 65 http/modules/ngx_http_browser_module.c static ngx_int_t ngx_http_browser_add_variable(ngx_conf_t *cf); cf 66 http/modules/ngx_http_browser_module.c static void *ngx_http_browser_create_conf(ngx_conf_t *cf); cf 67 http/modules/ngx_http_browser_module.c static char *ngx_http_browser_merge_conf(ngx_conf_t *cf, void *parent, cf 71 http/modules/ngx_http_browser_module.c static char *ngx_http_modern_browser(ngx_conf_t *cf, ngx_command_t *cmd, cf 73 http/modules/ngx_http_browser_module.c static char *ngx_http_ancient_browser(ngx_conf_t *cf, ngx_command_t *cmd, cf 75 http/modules/ngx_http_browser_module.c static char *ngx_http_modern_browser_value(ngx_conf_t *cf, ngx_command_t *cmd, cf 77 http/modules/ngx_http_browser_module.c static char *ngx_http_ancient_browser_value(ngx_conf_t *cf, ngx_command_t *cmd, cf 235 http/modules/ngx_http_browser_module.c ngx_http_browser_conf_t *cf; cf 237 http/modules/ngx_http_browser_module.c cf = ngx_http_get_module_loc_conf(r, ngx_http_browser_module); cf 239 http/modules/ngx_http_browser_module.c rc = ngx_http_browser(r, cf); cf 242 http/modules/ngx_http_browser_module.c *v = *cf->modern_browser_value; cf 247 http/modules/ngx_http_browser_module.c *v = *cf->ancient_browser_value; cf 257 http/modules/ngx_http_browser_module.c ngx_http_browser(ngx_http_request_t *r, ngx_http_browser_conf_t *cf) cf 266 http/modules/ngx_http_browser_module.c if (cf->modern_unlisted_browsers) { cf 277 http/modules/ngx_http_browser_module.c if (cf->modern_browsers) { cf 278 http/modules/ngx_http_browser_module.c modern = cf->modern_browsers->elts; cf 280 http/modules/ngx_http_browser_module.c for (i = 0; i < cf->modern_browsers->nelts; i++) { cf 350 http/modules/ngx_http_browser_module.c if (!cf->modern_unlisted_browsers) { cf 355 http/modules/ngx_http_browser_module.c if (cf->netscape4) { cf 364 http/modules/ngx_http_browser_module.c if (cf->ancient_browsers) { cf 365 http/modules/ngx_http_browser_module.c ancient = cf->ancient_browsers->elts; cf 367 http/modules/ngx_http_browser_module.c for (i = 0; i < cf->ancient_browsers->nelts; i++) { cf 376 http/modules/ngx_http_browser_module.c if (cf->modern_unlisted_browsers) { cf 399 http/modules/ngx_http_browser_module.c ngx_http_browser_add_variable(ngx_conf_t *cf) cf 406 http/modules/ngx_http_browser_module.c v = ngx_http_add_variable(cf, &var->name, NGX_HTTP_VAR_CHANGEABLE); cf 420 http/modules/ngx_http_browser_module.c ngx_http_browser_create_conf(ngx_conf_t *cf) cf 424 http/modules/ngx_http_browser_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_browser_conf_t)); cf 446 http/modules/ngx_http_browser_module.c ngx_http_browser_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 538 http/modules/ngx_http_browser_module.c ngx_http_modern_browser(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 548 http/modules/ngx_http_browser_module.c value = cf->args->elts; cf 550 http/modules/ngx_http_browser_module.c if (cf->args->nelts == 2) { cf 560 http/modules/ngx_http_browser_module.c bcf->modern_browsers = ngx_array_create(cf->pool, 5, cf 580 http/modules/ngx_http_browser_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 615 http/modules/ngx_http_browser_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 630 http/modules/ngx_http_browser_module.c ngx_http_ancient_browser(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 637 http/modules/ngx_http_browser_module.c value = cf->args->elts; cf 639 http/modules/ngx_http_browser_module.c for (i = 1; i < cf->args->nelts; i++) { cf 646 http/modules/ngx_http_browser_module.c bcf->ancient_browsers = ngx_array_create(cf->pool, 4, cf 666 http/modules/ngx_http_browser_module.c ngx_http_modern_browser_value(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 672 http/modules/ngx_http_browser_module.c bcf->modern_browser_value = ngx_palloc(cf->pool, cf 678 http/modules/ngx_http_browser_module.c value = cf->args->elts; cf 691 http/modules/ngx_http_browser_module.c ngx_http_ancient_browser_value(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 697 http/modules/ngx_http_browser_module.c bcf->ancient_browser_value = ngx_palloc(cf->pool, cf 703 http/modules/ngx_http_browser_module.c value = cf->args->elts; cf 109 http/modules/ngx_http_charset_filter_module.c static char *ngx_http_charset_map_block(ngx_conf_t *cf, ngx_command_t *cmd, cf 111 http/modules/ngx_http_charset_filter_module.c static char *ngx_http_charset_map(ngx_conf_t *cf, ngx_command_t *dummy, cf 114 http/modules/ngx_http_charset_filter_module.c static char *ngx_http_set_charset_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 118 http/modules/ngx_http_charset_filter_module.c static void *ngx_http_charset_create_main_conf(ngx_conf_t *cf); cf 119 http/modules/ngx_http_charset_filter_module.c static void *ngx_http_charset_create_loc_conf(ngx_conf_t *cf); cf 120 http/modules/ngx_http_charset_filter_module.c static char *ngx_http_charset_merge_loc_conf(ngx_conf_t *cf, cf 122 http/modules/ngx_http_charset_filter_module.c static ngx_int_t ngx_http_charset_postconfiguration(ngx_conf_t *cf); cf 1166 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_map_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1180 http/modules/ngx_http_charset_filter_module.c value = cf->args->elts; cf 1193 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1204 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1220 http/modules/ngx_http_charset_filter_module.c table->src2dst = ngx_pcalloc(cf->pool, 256 * NGX_UTF_LEN); cf 1225 http/modules/ngx_http_charset_filter_module.c table->dst2src = ngx_pcalloc(cf->pool, 256 * sizeof(void *)); cf 1230 http/modules/ngx_http_charset_filter_module.c dst2src = ngx_pcalloc(cf->pool, 256); cf 1252 http/modules/ngx_http_charset_filter_module.c table->src2dst = ngx_palloc(cf->pool, 256); cf 1257 http/modules/ngx_http_charset_filter_module.c table->dst2src = ngx_palloc(cf->pool, 256); cf 1279 http/modules/ngx_http_charset_filter_module.c pvcf = *cf; cf 1280 http/modules/ngx_http_charset_filter_module.c cf->ctx = &ctx; cf 1281 http/modules/ngx_http_charset_filter_module.c cf->handler = ngx_http_charset_map; cf 1282 http/modules/ngx_http_charset_filter_module.c cf->handler_conf = conf; cf 1284 http/modules/ngx_http_charset_filter_module.c rv = ngx_conf_parse(cf, NULL); cf 1286 http/modules/ngx_http_charset_filter_module.c *cf = pvcf; cf 1302 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_map(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) cf 1312 http/modules/ngx_http_charset_filter_module.c if (cf->args->nelts != 2) { cf 1313 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid parameters number"); cf 1317 http/modules/ngx_http_charset_filter_module.c value = cf->args->elts; cf 1321 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1326 http/modules/ngx_http_charset_filter_module.c ctx = cf->ctx; cf 1337 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1355 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1365 http/modules/ngx_http_charset_filter_module.c dst2src = ngx_pcalloc(cf->pool, 256); cf 1378 http/modules/ngx_http_charset_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1392 http/modules/ngx_http_charset_filter_module.c ngx_http_set_charset_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1406 http/modules/ngx_http_charset_filter_module.c value = cf->args->elts; cf 1420 http/modules/ngx_http_charset_filter_module.c *cp = ngx_http_get_variable_index(cf, &var); cf 1431 http/modules/ngx_http_charset_filter_module.c mcf = ngx_http_conf_get_module_main_conf(cf, cf 1485 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_create_main_conf(ngx_conf_t *cf) cf 1489 http/modules/ngx_http_charset_filter_module.c mcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_charset_main_conf_t)); cf 1494 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->charsets, cf->pool, 2, sizeof(ngx_http_charset_t)) cf 1500 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->tables, cf->pool, 1, cf 1507 http/modules/ngx_http_charset_filter_module.c if (ngx_array_init(&mcf->recodes, cf->pool, 2, cf 1519 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_create_loc_conf(ngx_conf_t *cf) cf 1523 http/modules/ngx_http_charset_filter_module.c lcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_charset_loc_conf_t)); cf 1544 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 1553 http/modules/ngx_http_charset_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 1579 http/modules/ngx_http_charset_filter_module.c mcf = ngx_http_conf_get_module_main_conf(cf, cf 1603 http/modules/ngx_http_charset_filter_module.c ngx_http_charset_postconfiguration(ngx_conf_t *cf) cf 1613 http/modules/ngx_http_charset_filter_module.c mcf = ngx_http_conf_get_module_main_conf(cf, cf 1635 http/modules/ngx_http_charset_filter_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 1650 http/modules/ngx_http_charset_filter_module.c src = ngx_pcalloc(cf->pool, sizeof(u_char *) * mcf->charsets.nelts); cf 1661 http/modules/ngx_http_charset_filter_module.c dst = ngx_pcalloc(cf->pool, sizeof(u_char *) * mcf->charsets.nelts); cf 12 http/modules/ngx_http_chunked_filter_module.c static ngx_int_t ngx_http_chunked_filter_init(ngx_conf_t *cf); cf 195 http/modules/ngx_http_chunked_filter_module.c ngx_http_chunked_filter_init(ngx_conf_t *cf) cf 61 http/modules/ngx_http_dav_module.c static void *ngx_http_dav_create_loc_conf(ngx_conf_t *cf); cf 62 http/modules/ngx_http_dav_module.c static char *ngx_http_dav_merge_loc_conf(ngx_conf_t *cf, cf 64 http/modules/ngx_http_dav_module.c static ngx_int_t ngx_http_dav_init(ngx_conf_t *cf); cf 519 http/modules/ngx_http_dav_module.c ngx_copy_file_t cf; cf 815 http/modules/ngx_http_dav_module.c cf.size = ngx_file_size(&fi); cf 816 http/modules/ngx_http_dav_module.c cf.buf_size = 0; cf 817 http/modules/ngx_http_dav_module.c cf.access = dlcf->access; cf 818 http/modules/ngx_http_dav_module.c cf.time = ngx_file_mtime(&fi); cf 819 http/modules/ngx_http_dav_module.c cf.log = r->connection->log; cf 821 http/modules/ngx_http_dav_module.c if (ngx_copy_file(path.data, copy.path.data, &cf) == NGX_OK) { cf 935 http/modules/ngx_http_dav_module.c ngx_copy_file_t cf; cf 956 http/modules/ngx_http_dav_module.c cf.size = ctx->size; cf 957 http/modules/ngx_http_dav_module.c cf.buf_size = 0; cf 958 http/modules/ngx_http_dav_module.c cf.access = ctx->access; cf 959 http/modules/ngx_http_dav_module.c cf.time = ctx->mtime; cf 960 http/modules/ngx_http_dav_module.c cf.log = ctx->log; cf 962 http/modules/ngx_http_dav_module.c (void) ngx_copy_file(path->data, file, &cf); cf 1080 http/modules/ngx_http_dav_module.c ngx_http_dav_create_loc_conf(ngx_conf_t *cf) cf 1084 http/modules/ngx_http_dav_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_dav_loc_conf_t)); cf 1104 http/modules/ngx_http_dav_module.c ngx_http_dav_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 1125 http/modules/ngx_http_dav_module.c ngx_http_dav_init(ngx_conf_t *cf) cf 1130 http/modules/ngx_http_dav_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 29 http/modules/ngx_http_degradation_module.c static void *ngx_http_degradation_create_main_conf(ngx_conf_t *cf); cf 30 http/modules/ngx_http_degradation_module.c static void *ngx_http_degradation_create_loc_conf(ngx_conf_t *cf); cf 31 http/modules/ngx_http_degradation_module.c static char *ngx_http_degradation_merge_loc_conf(ngx_conf_t *cf, void *parent, cf 33 http/modules/ngx_http_degradation_module.c static char *ngx_http_degradation(ngx_conf_t *cf, ngx_command_t *cmd, cf 35 http/modules/ngx_http_degradation_module.c static ngx_int_t ngx_http_degradation_init(ngx_conf_t *cf); cf 154 http/modules/ngx_http_degradation_module.c ngx_http_degradation_create_main_conf(ngx_conf_t *cf) cf 158 http/modules/ngx_http_degradation_module.c dmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_degradation_main_conf_t)); cf 168 http/modules/ngx_http_degradation_module.c ngx_http_degradation_create_loc_conf(ngx_conf_t *cf) cf 172 http/modules/ngx_http_degradation_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_degradation_loc_conf_t)); cf 184 http/modules/ngx_http_degradation_module.c ngx_http_degradation_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 196 http/modules/ngx_http_degradation_module.c ngx_http_degradation(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 202 http/modules/ngx_http_degradation_module.c value = cf->args->elts; cf 211 http/modules/ngx_http_degradation_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 219 http/modules/ngx_http_degradation_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 227 http/modules/ngx_http_degradation_module.c ngx_http_degradation_init(ngx_conf_t *cf) cf 232 http/modules/ngx_http_degradation_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 11 http/modules/ngx_http_empty_gif_module.c static char *ngx_http_empty_gif(ngx_conf_t *cf, ngx_command_t *cmd, cf 138 http/modules/ngx_http_empty_gif_module.c ngx_http_empty_gif(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 142 http/modules/ngx_http_empty_gif_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 141 http/modules/ngx_http_fastcgi_module.c static ngx_int_t ngx_http_fastcgi_add_variables(ngx_conf_t *cf); cf 142 http/modules/ngx_http_fastcgi_module.c static void *ngx_http_fastcgi_create_loc_conf(ngx_conf_t *cf); cf 143 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_merge_loc_conf(ngx_conf_t *cf, cf 152 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, cf 154 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_split_path_info(ngx_conf_t *cf, cf 156 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_store(ngx_conf_t *cf, ngx_command_t *cmd, cf 159 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 161 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, cf 165 http/modules/ngx_http_fastcgi_module.c static char *ngx_http_fastcgi_lowat_check(ngx_conf_t *cf, void *post, cf 1923 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_add_variables(ngx_conf_t *cf) cf 1928 http/modules/ngx_http_fastcgi_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 1942 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_create_loc_conf(ngx_conf_t *cf) cf 1946 http/modules/ngx_http_fastcgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_fastcgi_loc_conf_t)); cf 2011 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 2068 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2092 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2103 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2123 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2146 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2172 http/modules/ngx_http_fastcgi_module.c if (ngx_conf_merge_path_value(cf, &conf->upstream.temp_path, cf 2190 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2223 http/modules/ngx_http_fastcgi_module.c ngx_log_error(NGX_LOG_WARN, cf->log, 0, cf 2254 http/modules/ngx_http_fastcgi_module.c if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream, cf 2271 http/modules/ngx_http_fastcgi_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 2302 http/modules/ngx_http_fastcgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, cf 2317 http/modules/ngx_http_fastcgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); cf 2322 http/modules/ngx_http_fastcgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); cf 2327 http/modules/ngx_http_fastcgi_module.c if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) cf 2413 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; cf 2454 http/modules/ngx_http_fastcgi_module.c hash.pool = cf->pool; cf 2605 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2619 http/modules/ngx_http_fastcgi_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 2627 http/modules/ngx_http_fastcgi_module.c value = cf->args->elts; cf 2637 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; cf 2657 http/modules/ngx_http_fastcgi_module.c flcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); cf 2667 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_split_path_info(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2676 http/modules/ngx_http_fastcgi_module.c value = cf->args->elts; cf 2683 http/modules/ngx_http_fastcgi_module.c rc.pool = cf->pool; cf 2688 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); cf 2693 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2704 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2713 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2726 http/modules/ngx_http_fastcgi_module.c value = cf->args->elts; cf 2753 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; cf 2772 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2778 http/modules/ngx_http_fastcgi_module.c value = cf->args->elts; cf 2793 http/modules/ngx_http_fastcgi_module.c flcf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0, cf 2804 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2811 http/modules/ngx_http_fastcgi_module.c value = cf->args->elts; cf 2819 http/modules/ngx_http_fastcgi_module.c ccv.cf = cf; cf 2834 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_lowat_check(ngx_conf_t *cf, void *post, void *data) cf 2840 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2851 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 11 http/modules/ngx_http_flv_module.c static char *ngx_http_flv(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 245 http/modules/ngx_http_flv_module.c ngx_http_flv(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 249 http/modules/ngx_http_flv_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 72 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 73 http/modules/ngx_http_geo_module.c static char *ngx_http_geo(ngx_conf_t *cf, ngx_command_t *dummy, void *conf); cf 74 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 76 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_add_range(ngx_conf_t *cf, cf 78 http/modules/ngx_http_geo_module.c static ngx_uint_t ngx_http_geo_delete_range(ngx_conf_t *cf, cf 80 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 82 http/modules/ngx_http_geo_module.c static ngx_http_variable_value_t *ngx_http_geo_value(ngx_conf_t *cf, cf 84 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_add_proxy(ngx_conf_t *cf, cf 86 http/modules/ngx_http_geo_module.c static ngx_int_t ngx_http_geo_cidr_value(ngx_conf_t *cf, ngx_str_t *net, cf 88 http/modules/ngx_http_geo_module.c static char *ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 90 http/modules/ngx_http_geo_module.c static ngx_int_t ngx_http_geo_include_binary_base(ngx_conf_t *cf, cf 290 http/modules/ngx_http_geo_module.c ngx_http_geo_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 304 http/modules/ngx_http_geo_module.c value = cf->args->elts; cf 306 http/modules/ngx_http_geo_module.c geo = ngx_palloc(cf->pool, sizeof(ngx_http_geo_ctx_t)); cf 315 http/modules/ngx_http_geo_module.c if (cf->args->nelts == 3) { cf 317 http/modules/ngx_http_geo_module.c geo->index = ngx_http_get_variable_index(cf, &name); cf 330 http/modules/ngx_http_geo_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); cf 335 http/modules/ngx_http_geo_module.c pool = ngx_create_pool(16384, cf->log); cf 342 http/modules/ngx_http_geo_module.c ctx.temp_pool = ngx_create_pool(16384, cf->log); cf 349 http/modules/ngx_http_geo_module.c ctx.pool = cf->pool; cf 355 http/modules/ngx_http_geo_module.c save = *cf; cf 356 http/modules/ngx_http_geo_module.c cf->pool = pool; cf 357 http/modules/ngx_http_geo_module.c cf->ctx = &ctx; cf 358 http/modules/ngx_http_geo_module.c cf->handler = ngx_http_geo; cf 359 http/modules/ngx_http_geo_module.c cf->handler_conf = conf; cf 361 http/modules/ngx_http_geo_module.c rv = ngx_conf_parse(cf, NULL); cf 363 http/modules/ngx_http_geo_module.c *cf = save; cf 379 http/modules/ngx_http_geo_module.c ctx.high.low[i] = ngx_palloc(cf->pool, len + sizeof(void *)); cf 412 http/modules/ngx_http_geo_module.c ctx.tree = ngx_radix_tree_create(cf->pool, -1); cf 443 http/modules/ngx_http_geo_module.c ngx_http_geo(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) cf 450 http/modules/ngx_http_geo_module.c ctx = cf->ctx; cf 452 http/modules/ngx_http_geo_module.c value = cf->args->elts; cf 454 http/modules/ngx_http_geo_module.c if (cf->args->nelts == 1) { cf 459 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 473 http/modules/ngx_http_geo_module.c if (cf->args->nelts != 2) { cf 474 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 481 http/modules/ngx_http_geo_module.c rv = ngx_http_geo_include(cf, ctx, &value[1]); cf 487 http/modules/ngx_http_geo_module.c if (ngx_http_geo_cidr_value(cf, &value[1], &cidr) != NGX_OK) { cf 491 http/modules/ngx_http_geo_module.c rv = ngx_http_geo_add_proxy(cf, ctx, &cidr); cf 497 http/modules/ngx_http_geo_module.c rv = ngx_http_geo_range(cf, ctx, value); cf 500 http/modules/ngx_http_geo_module.c rv = ngx_http_geo_cidr(cf, ctx, value); cf 505 http/modules/ngx_http_geo_module.c ngx_reset_pool(cf->pool); cf 511 http/modules/ngx_http_geo_module.c ngx_reset_pool(cf->pool); cf 518 http/modules/ngx_http_geo_module.c ngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 529 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 534 http/modules/ngx_http_geo_module.c ctx->high.default_value = ngx_http_geo_value(cf, ctx, &value[1]); cf 543 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 600 http/modules/ngx_http_geo_module.c if (ngx_http_geo_delete_range(cf, ctx, start, end)) { cf 601 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 608 http/modules/ngx_http_geo_module.c ctx->value = ngx_http_geo_value(cf, ctx, &value[1]); cf 616 http/modules/ngx_http_geo_module.c return ngx_http_geo_add_range(cf, ctx, start, end); cf 620 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid range \"%V\"", net); cf 629 http/modules/ngx_http_geo_module.c ngx_http_geo_add_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 701 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 794 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 824 http/modules/ngx_http_geo_module.c ngx_http_geo_delete_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 887 http/modules/ngx_http_geo_module.c ngx_http_geo_cidr(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 918 http/modules/ngx_http_geo_module.c if (ngx_http_geo_cidr_value(cf, net, &cidr) != NGX_OK) { cf 927 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 935 http/modules/ngx_http_geo_module.c val = ngx_http_geo_value(cf, ctx, &value[1]); cf 957 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 964 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid radix tree"); cf 974 http/modules/ngx_http_geo_module.c ngx_http_geo_value(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 1027 http/modules/ngx_http_geo_module.c ngx_http_geo_add_proxy(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 1052 http/modules/ngx_http_geo_module.c ngx_http_geo_cidr_value(ngx_conf_t *cf, ngx_str_t *net, ngx_cidr_t *cidr) cf 1066 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid network \"%V\"", net); cf 1071 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "\"geo\" supports IPv4 only"); cf 1076 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1088 http/modules/ngx_http_geo_module.c ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 1102 http/modules/ngx_http_geo_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cf 1107 http/modules/ngx_http_geo_module.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 1109 http/modules/ngx_http_geo_module.c switch (ngx_http_geo_include_binary_base(cf, ctx, &file)) { cf 1128 http/modules/ngx_http_geo_module.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 1130 http/modules/ngx_http_geo_module.c rv = ngx_conf_parse(cf, &file); cf 1140 http/modules/ngx_http_geo_module.c ngx_http_geo_include_binary_base(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, cf 1159 http/modules/ngx_http_geo_module.c file.log = cf->log; cf 1165 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_CRIT, cf, err, cf 1172 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1180 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1188 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_CRIT, cf, ngx_errno, cf 1200 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_CRIT, cf, ngx_errno, cf 1208 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1221 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_CRIT, cf, ngx_errno, cf 1227 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_CRIT, cf, 0, cf 1236 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1282 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1287 http/modules/ngx_http_geo_module.c ngx_conf_log_error(NGX_LOG_NOTICE, cf, 0, cf 1304 http/modules/ngx_http_geo_module.c ngx_log_error(NGX_LOG_ALERT, cf->log, ngx_errno, cf 41 http/modules/ngx_http_geoip_module.c static ngx_int_t ngx_http_geoip_add_variables(ngx_conf_t *cf); cf 42 http/modules/ngx_http_geoip_module.c static void *ngx_http_geoip_create_conf(ngx_conf_t *cf); cf 43 http/modules/ngx_http_geoip_module.c static char *ngx_http_geoip_country(ngx_conf_t *cf, ngx_command_t *cmd, cf 45 http/modules/ngx_http_geoip_module.c static char *ngx_http_geoip_city(ngx_conf_t *cf, ngx_command_t *cmd, cf 386 http/modules/ngx_http_geoip_module.c ngx_http_geoip_add_variables(ngx_conf_t *cf) cf 391 http/modules/ngx_http_geoip_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 405 http/modules/ngx_http_geoip_module.c ngx_http_geoip_create_conf(ngx_conf_t *cf) cf 410 http/modules/ngx_http_geoip_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_geoip_conf_t)); cf 415 http/modules/ngx_http_geoip_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 428 http/modules/ngx_http_geoip_module.c ngx_http_geoip_country(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 438 http/modules/ngx_http_geoip_module.c value = cf->args->elts; cf 443 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 449 http/modules/ngx_http_geoip_module.c if (cf->args->nelts == 3) { cf 454 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 469 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 478 http/modules/ngx_http_geoip_module.c ngx_http_geoip_city(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 488 http/modules/ngx_http_geoip_module.c value = cf->args->elts; cf 493 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 499 http/modules/ngx_http_geoip_module.c if (cf->args->nelts == 3) { cf 504 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 518 http/modules/ngx_http_geoip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 109 http/modules/ngx_http_gzip_filter_module.c static ngx_int_t ngx_http_gzip_add_variables(ngx_conf_t *cf); cf 113 http/modules/ngx_http_gzip_filter_module.c static ngx_int_t ngx_http_gzip_filter_init(ngx_conf_t *cf); cf 114 http/modules/ngx_http_gzip_filter_module.c static void *ngx_http_gzip_create_conf(ngx_conf_t *cf); cf 115 http/modules/ngx_http_gzip_filter_module.c static char *ngx_http_gzip_merge_conf(ngx_conf_t *cf, cf 117 http/modules/ngx_http_gzip_filter_module.c static char *ngx_http_gzip_window(ngx_conf_t *cf, void *post, void *data); cf 118 http/modules/ngx_http_gzip_filter_module.c static char *ngx_http_gzip_hash(ngx_conf_t *cf, void *post, void *data); cf 1025 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_add_variables(ngx_conf_t *cf) cf 1029 http/modules/ngx_http_gzip_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_gzip_ratio, NGX_HTTP_VAR_NOHASH); cf 1085 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_create_conf(ngx_conf_t *cf) cf 1089 http/modules/ngx_http_gzip_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_gzip_conf_t)); cf 1116 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 1135 http/modules/ngx_http_gzip_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 1148 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_filter_init(ngx_conf_t *cf) cf 1161 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_window(ngx_conf_t *cf, void *post, void *data) cf 1185 http/modules/ngx_http_gzip_filter_module.c ngx_http_gzip_hash(ngx_conf_t *cf, void *post, void *data) cf 18 http/modules/ngx_http_gzip_static_module.c static void *ngx_http_gzip_static_create_conf(ngx_conf_t *cf); cf 19 http/modules/ngx_http_gzip_static_module.c static char *ngx_http_gzip_static_merge_conf(ngx_conf_t *cf, void *parent, cf 21 http/modules/ngx_http_gzip_static_module.c static ngx_int_t ngx_http_gzip_static_init(ngx_conf_t *cf); cf 255 http/modules/ngx_http_gzip_static_module.c ngx_http_gzip_static_create_conf(ngx_conf_t *cf) cf 259 http/modules/ngx_http_gzip_static_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_gzip_static_conf_t)); cf 271 http/modules/ngx_http_gzip_static_module.c ngx_http_gzip_static_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 283 http/modules/ngx_http_gzip_static_module.c ngx_http_gzip_static_init(ngx_conf_t *cf) cf 288 http/modules/ngx_http_gzip_static_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 56 http/modules/ngx_http_headers_filter_module.c static void *ngx_http_headers_create_conf(ngx_conf_t *cf); cf 57 http/modules/ngx_http_headers_filter_module.c static char *ngx_http_headers_merge_conf(ngx_conf_t *cf, cf 59 http/modules/ngx_http_headers_filter_module.c static ngx_int_t ngx_http_headers_filter_init(ngx_conf_t *cf); cf 60 http/modules/ngx_http_headers_filter_module.c static char *ngx_http_headers_expires(ngx_conf_t *cf, ngx_command_t *cmd, cf 62 http/modules/ngx_http_headers_filter_module.c static char *ngx_http_headers_add(ngx_conf_t *cf, ngx_command_t *cmd, cf 403 http/modules/ngx_http_headers_filter_module.c ngx_http_headers_create_conf(ngx_conf_t *cf) cf 407 http/modules/ngx_http_headers_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_headers_conf_t)); cf 426 http/modules/ngx_http_headers_filter_module.c ngx_http_headers_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 449 http/modules/ngx_http_headers_filter_module.c ngx_http_headers_filter_init(ngx_conf_t *cf) cf 459 http/modules/ngx_http_headers_filter_module.c ngx_http_headers_expires(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 470 http/modules/ngx_http_headers_filter_module.c value = cf->args->elts; cf 472 http/modules/ngx_http_headers_filter_module.c if (cf->args->nelts == 2) { cf 554 http/modules/ngx_http_headers_filter_module.c ngx_http_headers_add(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 564 http/modules/ngx_http_headers_filter_module.c value = cf->args->elts; cf 567 http/modules/ngx_http_headers_filter_module.c hcf->headers = ngx_array_create(cf->pool, 1, cf 603 http/modules/ngx_http_headers_filter_module.c ccv.cf = cf; cf 101 http/modules/ngx_http_image_filter_module.c static void *ngx_http_image_filter_create_conf(ngx_conf_t *cf); cf 102 http/modules/ngx_http_image_filter_module.c static char *ngx_http_image_filter_merge_conf(ngx_conf_t *cf, void *parent, cf 104 http/modules/ngx_http_image_filter_module.c static char *ngx_http_image_filter(ngx_conf_t *cf, ngx_command_t *cmd, cf 106 http/modules/ngx_http_image_filter_module.c static char *ngx_http_image_filter_jpeg_quality(ngx_conf_t *cf, cf 108 http/modules/ngx_http_image_filter_module.c static ngx_int_t ngx_http_image_filter_init(ngx_conf_t *cf); cf 1134 http/modules/ngx_http_image_filter_module.c ngx_http_image_filter_create_conf(ngx_conf_t *cf) cf 1138 http/modules/ngx_http_image_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_image_filter_conf_t)); cf 1154 http/modules/ngx_http_image_filter_module.c ngx_http_image_filter_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 1195 http/modules/ngx_http_image_filter_module.c ngx_http_image_filter(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1205 http/modules/ngx_http_image_filter_module.c value = cf->args->elts; cf 1209 http/modules/ngx_http_image_filter_module.c if (cf->args->nelts == 2) { cf 1225 http/modules/ngx_http_image_filter_module.c } else if (cf->args->nelts == 3) { cf 1232 http/modules/ngx_http_image_filter_module.c ccv.cf = cf; cf 1250 http/modules/ngx_http_image_filter_module.c imcf->acv = ngx_palloc(cf->pool, cf 1278 http/modules/ngx_http_image_filter_module.c ccv.cf = cf; cf 1296 http/modules/ngx_http_image_filter_module.c imcf->wcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); cf 1306 http/modules/ngx_http_image_filter_module.c ccv.cf = cf; cf 1324 http/modules/ngx_http_image_filter_module.c imcf->hcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); cf 1336 http/modules/ngx_http_image_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid parameter \"%V\"", cf 1344 http/modules/ngx_http_image_filter_module.c ngx_http_image_filter_jpeg_quality(ngx_conf_t *cf, ngx_command_t *cmd, cf 1354 http/modules/ngx_http_image_filter_module.c value = cf->args->elts; cf 1358 http/modules/ngx_http_image_filter_module.c ccv.cf = cf; cf 1370 http/modules/ngx_http_image_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1378 http/modules/ngx_http_image_filter_module.c imcf->jqcv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); cf 1391 http/modules/ngx_http_image_filter_module.c ngx_http_image_filter_init(ngx_conf_t *cf) cf 33 http/modules/ngx_http_index_module.c static ngx_int_t ngx_http_index_init(ngx_conf_t *cf); cf 34 http/modules/ngx_http_index_module.c static void *ngx_http_index_create_loc_conf(ngx_conf_t *cf); cf 35 http/modules/ngx_http_index_module.c static char *ngx_http_index_merge_loc_conf(ngx_conf_t *cf, cf 37 http/modules/ngx_http_index_module.c static char *ngx_http_index_set_index(ngx_conf_t *cf, ngx_command_t *cmd, cf 363 http/modules/ngx_http_index_module.c ngx_http_index_create_loc_conf(ngx_conf_t *cf) cf 367 http/modules/ngx_http_index_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t)); cf 380 http/modules/ngx_http_index_module.c ngx_http_index_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 393 http/modules/ngx_http_index_module.c conf->indices = ngx_array_create(cf->pool, 1, sizeof(ngx_http_index_t)); cf 418 http/modules/ngx_http_index_module.c ngx_http_index_init(ngx_conf_t *cf) cf 423 http/modules/ngx_http_index_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 439 http/modules/ngx_http_index_module.c ngx_http_index_set_index(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 449 http/modules/ngx_http_index_module.c ilcf->indices = ngx_array_create(cf->pool, 2, sizeof(ngx_http_index_t)); cf 455 http/modules/ngx_http_index_module.c value = cf->args->elts; cf 457 http/modules/ngx_http_index_module.c for (i = 1; i < cf->args->nelts; i++) { cf 459 http/modules/ngx_http_index_module.c if (value[i].data[0] == '/' && i != cf->args->nelts - 1) { cf 460 http/modules/ngx_http_index_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 466 http/modules/ngx_http_index_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 501 http/modules/ngx_http_index_module.c sc.cf = cf; cf 58 http/modules/ngx_http_limit_req_module.c static void *ngx_http_limit_req_create_conf(ngx_conf_t *cf); cf 59 http/modules/ngx_http_limit_req_module.c static char *ngx_http_limit_req_merge_conf(ngx_conf_t *cf, void *parent, cf 61 http/modules/ngx_http_limit_req_module.c static char *ngx_http_limit_req_zone(ngx_conf_t *cf, ngx_command_t *cmd, cf 63 http/modules/ngx_http_limit_req_module.c static char *ngx_http_limit_req(ngx_conf_t *cf, ngx_command_t *cmd, cf 65 http/modules/ngx_http_limit_req_module.c static ngx_int_t ngx_http_limit_req_init(ngx_conf_t *cf); cf 542 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req_create_conf(ngx_conf_t *cf) cf 546 http/modules/ngx_http_limit_req_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_req_conf_t)); cf 566 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 586 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req_zone(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 596 http/modules/ngx_http_limit_req_module.c value = cf->args->elts; cf 604 http/modules/ngx_http_limit_req_module.c for (i = 1; i < cf->args->nelts; i++) { cf 628 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 649 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 662 http/modules/ngx_http_limit_req_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_req_ctx_t)); cf 667 http/modules/ngx_http_limit_req_module.c ctx->index = ngx_http_get_variable_index(cf, &value[i]); cf 677 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 683 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 690 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 698 http/modules/ngx_http_limit_req_module.c shm_zone = ngx_shared_memory_add(cf, &name, size, cf 707 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 721 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 733 http/modules/ngx_http_limit_req_module.c value = cf->args->elts; cf 737 http/modules/ngx_http_limit_req_module.c for (i = 1; i < cf->args->nelts; i++) { cf 744 http/modules/ngx_http_limit_req_module.c lrcf->shm_zone = ngx_shared_memory_add(cf, &s, 0, cf 757 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 770 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 776 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 783 http/modules/ngx_http_limit_req_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 796 http/modules/ngx_http_limit_req_module.c ngx_http_limit_req_init(ngx_conf_t *cf) cf 801 http/modules/ngx_http_limit_req_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 42 http/modules/ngx_http_limit_zone_module.c static void *ngx_http_limit_zone_create_conf(ngx_conf_t *cf); cf 43 http/modules/ngx_http_limit_zone_module.c static char *ngx_http_limit_zone_merge_conf(ngx_conf_t *cf, void *parent, cf 45 http/modules/ngx_http_limit_zone_module.c static char *ngx_http_limit_zone(ngx_conf_t *cf, ngx_command_t *cmd, cf 47 http/modules/ngx_http_limit_zone_module.c static char *ngx_http_limit_conn(ngx_conf_t *cf, ngx_command_t *cmd, cf 49 http/modules/ngx_http_limit_zone_module.c static ngx_int_t ngx_http_limit_zone_init(ngx_conf_t *cf); cf 395 http/modules/ngx_http_limit_zone_module.c ngx_http_limit_zone_create_conf(ngx_conf_t *cf) cf 399 http/modules/ngx_http_limit_zone_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_conf_t)); cf 418 http/modules/ngx_http_limit_zone_module.c ngx_http_limit_zone_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 434 http/modules/ngx_http_limit_zone_module.c ngx_http_limit_zone(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 441 http/modules/ngx_http_limit_zone_module.c value = cf->args->elts; cf 444 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 452 http/modules/ngx_http_limit_zone_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_ctx_t)); cf 457 http/modules/ngx_http_limit_zone_module.c ctx->index = ngx_http_get_variable_index(cf, &value[2]); cf 467 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 473 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 479 http/modules/ngx_http_limit_zone_module.c shm_zone = ngx_shared_memory_add(cf, &value[1], n, cf 488 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 502 http/modules/ngx_http_limit_zone_module.c ngx_http_limit_conn(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 513 http/modules/ngx_http_limit_zone_module.c value = cf->args->elts; cf 515 http/modules/ngx_http_limit_zone_module.c lzcf->shm_zone = ngx_shared_memory_add(cf, &value[1], 0, cf 523 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 529 http/modules/ngx_http_limit_zone_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 541 http/modules/ngx_http_limit_zone_module.c ngx_http_limit_zone_init(ngx_conf_t *cf) cf 546 http/modules/ngx_http_limit_zone_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 101 http/modules/ngx_http_log_module.c static ngx_int_t ngx_http_log_variable_compile(ngx_conf_t *cf, cf 110 http/modules/ngx_http_log_module.c static void *ngx_http_log_create_main_conf(ngx_conf_t *cf); cf 111 http/modules/ngx_http_log_module.c static void *ngx_http_log_create_loc_conf(ngx_conf_t *cf); cf 112 http/modules/ngx_http_log_module.c static char *ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, cf 114 http/modules/ngx_http_log_module.c static char *ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, cf 116 http/modules/ngx_http_log_module.c static char *ngx_http_log_set_format(ngx_conf_t *cf, ngx_command_t *cmd, cf 118 http/modules/ngx_http_log_module.c static char *ngx_http_log_compile_format(ngx_conf_t *cf, cf 120 http/modules/ngx_http_log_module.c static char *ngx_http_log_open_file_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 122 http/modules/ngx_http_log_module.c static ngx_int_t ngx_http_log_init(ngx_conf_t *cf); cf 617 http/modules/ngx_http_log_module.c ngx_http_log_variable_compile(ngx_conf_t *cf, ngx_http_log_op_t *op, cf 622 http/modules/ngx_http_log_module.c index = ngx_http_get_variable_index(cf, value); cf 738 http/modules/ngx_http_log_module.c ngx_http_log_create_main_conf(ngx_conf_t *cf) cf 744 http/modules/ngx_http_log_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_main_conf_t)); cf 749 http/modules/ngx_http_log_module.c if (ngx_array_init(&conf->formats, cf->pool, 4, sizeof(ngx_http_log_fmt_t)) cf 764 http/modules/ngx_http_log_module.c fmt->ops = ngx_array_create(cf->pool, 16, sizeof(ngx_http_log_op_t)); cf 774 http/modules/ngx_http_log_module.c ngx_http_log_create_loc_conf(ngx_conf_t *cf) cf 778 http/modules/ngx_http_log_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_loc_conf_t)); cf 790 http/modules/ngx_http_log_module.c ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 821 http/modules/ngx_http_log_module.c conf->logs = ngx_array_create(cf->pool, 2, sizeof(ngx_http_log_t)); cf 831 http/modules/ngx_http_log_module.c log->file = ngx_conf_open_file(cf->cycle, &ngx_http_access_log); cf 840 http/modules/ngx_http_log_module.c lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); cf 852 http/modules/ngx_http_log_module.c ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 864 http/modules/ngx_http_log_module.c value = cf->args->elts; cf 868 http/modules/ngx_http_log_module.c if (cf->args->nelts == 2) { cf 872 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 878 http/modules/ngx_http_log_module.c llcf->logs = ngx_array_create(cf->pool, 2, sizeof(ngx_http_log_t)); cf 884 http/modules/ngx_http_log_module.c lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); cf 896 http/modules/ngx_http_log_module.c log->file = ngx_conf_open_file(cf->cycle, &value[1]); cf 902 http/modules/ngx_http_log_module.c if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { cf 906 http/modules/ngx_http_log_module.c log->script = ngx_pcalloc(cf->pool, sizeof(ngx_http_log_script_t)); cf 913 http/modules/ngx_http_log_module.c sc.cf = cf; cf 926 http/modules/ngx_http_log_module.c if (cf->args->nelts >= 3) { cf 948 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 954 http/modules/ngx_http_log_module.c if (cf->args->nelts == 4) { cf 956 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 962 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 973 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 979 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 985 http/modules/ngx_http_log_module.c log->file->buffer = ngx_palloc(cf->pool, buf); cf 999 http/modules/ngx_http_log_module.c ngx_http_log_set_format(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1007 http/modules/ngx_http_log_module.c value = cf->args->elts; cf 1014 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1028 http/modules/ngx_http_log_module.c fmt->flushes = ngx_array_create(cf->pool, 4, sizeof(ngx_int_t)); cf 1033 http/modules/ngx_http_log_module.c fmt->ops = ngx_array_create(cf->pool, 16, sizeof(ngx_http_log_op_t)); cf 1038 http/modules/ngx_http_log_module.c return ngx_http_log_compile_format(cf, fmt->flushes, fmt->ops, cf->args, 2); cf 1043 http/modules/ngx_http_log_module.c ngx_http_log_compile_format(ngx_conf_t *cf, ngx_array_t *flushes, cf 1069 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1129 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1140 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1159 http/modules/ngx_http_log_module.c if (ngx_http_log_variable_compile(cf, op, &var) != NGX_OK) { cf 1203 http/modules/ngx_http_log_module.c p = ngx_pnalloc(cf->pool, len); cf 1219 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid parameter \"%s\"", data); cf 1226 http/modules/ngx_http_log_module.c ngx_http_log_open_file_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1239 http/modules/ngx_http_log_module.c value = cf->args->elts; cf 1246 http/modules/ngx_http_log_module.c for (i = 1; i < cf->args->nelts; i++) { cf 1303 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1314 http/modules/ngx_http_log_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1319 http/modules/ngx_http_log_module.c llcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive); cf 1334 http/modules/ngx_http_log_module.c ngx_http_log_init(ngx_conf_t *cf) cf 1343 http/modules/ngx_http_log_module.c lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); cf 1346 http/modules/ngx_http_log_module.c if (ngx_array_init(&a, cf->pool, 1, sizeof(ngx_str_t)) != NGX_OK) { cf 1358 http/modules/ngx_http_log_module.c if (ngx_http_log_compile_format(cf, NULL, fmt->ops, &a, 0) cf 1365 http/modules/ngx_http_log_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 28 http/modules/ngx_http_map_module.c ngx_conf_t *cf; cf 43 http/modules/ngx_http_map_module.c static void *ngx_http_map_create_conf(ngx_conf_t *cf); cf 44 http/modules/ngx_http_map_module.c static char *ngx_http_map_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 45 http/modules/ngx_http_map_module.c static char *ngx_http_map(ngx_conf_t *cf, ngx_command_t *dummy, void *conf); cf 156 http/modules/ngx_http_map_module.c ngx_http_map_create_conf(ngx_conf_t *cf) cf 160 http/modules/ngx_http_map_module.c mcf = ngx_palloc(cf->pool, sizeof(ngx_http_map_conf_t)); cf 173 http/modules/ngx_http_map_module.c ngx_http_map_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 199 http/modules/ngx_http_map_module.c map = ngx_pcalloc(cf->pool, sizeof(ngx_http_map_ctx_t)); cf 204 http/modules/ngx_http_map_module.c value = cf->args->elts; cf 208 http/modules/ngx_http_map_module.c ccv.cf = cf; cf 220 http/modules/ngx_http_map_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); cf 228 http/modules/ngx_http_map_module.c pool = ngx_create_pool(16384, cf->log); cf 233 http/modules/ngx_http_map_module.c ctx.keys.pool = cf->pool; cf 247 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx.var_values, cf->pool, 2, cf 256 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx.regexes, cf->pool, 2, sizeof(ngx_http_map_regex_t)) cf 265 http/modules/ngx_http_map_module.c ctx.cf = &save; cf 268 http/modules/ngx_http_map_module.c save = *cf; cf 269 http/modules/ngx_http_map_module.c cf->pool = pool; cf 270 http/modules/ngx_http_map_module.c cf->ctx = &ctx; cf 271 http/modules/ngx_http_map_module.c cf->handler = ngx_http_map; cf 272 http/modules/ngx_http_map_module.c cf->handler_conf = conf; cf 274 http/modules/ngx_http_map_module.c rv = ngx_conf_parse(cf, NULL); cf 276 http/modules/ngx_http_map_module.c *cf = save; cf 290 http/modules/ngx_http_map_module.c hash.pool = cf->pool; cf 372 http/modules/ngx_http_map_module.c ngx_http_map(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) cf 380 http/modules/ngx_http_map_module.c ctx = cf->ctx; cf 382 http/modules/ngx_http_map_module.c value = cf->args->elts; cf 384 http/modules/ngx_http_map_module.c if (cf->args->nelts == 1 cf 390 http/modules/ngx_http_map_module.c } else if (cf->args->nelts != 2) { cf 391 http/modules/ngx_http_map_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 399 http/modules/ngx_http_map_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cf 403 http/modules/ngx_http_map_module.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 405 http/modules/ngx_http_map_module.c return ngx_conf_parse(cf, &file); cf 413 http/modules/ngx_http_map_module.c index = ngx_http_get_variable_index(ctx->cf, &name); cf 470 http/modules/ngx_http_map_module.c if (ngx_array_init(&ctx->values_hash[key], cf->pool, 4, cf 505 http/modules/ngx_http_map_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 536 http/modules/ngx_http_map_module.c regex->regex = ngx_http_regex_compile(ctx->cf, &rc); cf 561 http/modules/ngx_http_map_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 566 http/modules/ngx_http_map_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 34 http/modules/ngx_http_memcached_module.c static void *ngx_http_memcached_create_loc_conf(ngx_conf_t *cf); cf 35 http/modules/ngx_http_memcached_module.c static char *ngx_http_memcached_merge_loc_conf(ngx_conf_t *cf, cf 38 http/modules/ngx_http_memcached_module.c static char *ngx_http_memcached_pass(ngx_conf_t *cf, ngx_command_t *cmd, cf 496 http/modules/ngx_http_memcached_module.c ngx_http_memcached_create_loc_conf(ngx_conf_t *cf) cf 500 http/modules/ngx_http_memcached_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_memcached_loc_conf_t)); cf 542 http/modules/ngx_http_memcached_module.c ngx_http_memcached_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 584 http/modules/ngx_http_memcached_module.c ngx_http_memcached_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 596 http/modules/ngx_http_memcached_module.c value = cf->args->elts; cf 603 http/modules/ngx_http_memcached_module.c mlcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); cf 608 http/modules/ngx_http_memcached_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 616 http/modules/ngx_http_memcached_module.c mlcf->index = ngx_http_get_variable_index(cf, &ngx_http_memcached_key); cf 14 http/modules/ngx_http_not_modified_filter_module.c static ngx_int_t ngx_http_not_modified_filter_init(ngx_conf_t *cf); cf 136 http/modules/ngx_http_not_modified_filter_module.c ngx_http_not_modified_filter_init(ngx_conf_t *cf) cf 112 http/modules/ngx_http_proxy_module.c static ngx_int_t ngx_http_proxy_add_variables(ngx_conf_t *cf); cf 113 http/modules/ngx_http_proxy_module.c static void *ngx_http_proxy_create_loc_conf(ngx_conf_t *cf); cf 114 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, cf 116 http/modules/ngx_http_proxy_module.c static ngx_int_t ngx_http_proxy_merge_headers(ngx_conf_t *cf, cf 119 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, cf 121 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_redirect(ngx_conf_t *cf, ngx_command_t *cmd, cf 123 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_store(ngx_conf_t *cf, ngx_command_t *cmd, cf 126 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 128 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, cf 132 http/modules/ngx_http_proxy_module.c static char *ngx_http_proxy_lowat_check(ngx_conf_t *cf, void *post, void *data); cf 135 http/modules/ngx_http_proxy_module.c static ngx_int_t ngx_http_proxy_set_ssl(ngx_conf_t *cf, cf 1612 http/modules/ngx_http_proxy_module.c ngx_http_proxy_add_variables(ngx_conf_t *cf) cf 1617 http/modules/ngx_http_proxy_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 1631 http/modules/ngx_http_proxy_module.c ngx_http_proxy_create_loc_conf(ngx_conf_t *cf) cf 1635 http/modules/ngx_http_proxy_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_proxy_loc_conf_t)); cf 1715 http/modules/ngx_http_proxy_module.c ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 1767 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1791 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1802 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1822 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1844 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1870 http/modules/ngx_http_proxy_module.c if (ngx_conf_merge_path_value(cf, &conf->upstream.temp_path, cf 1889 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1922 http/modules/ngx_http_proxy_module.c ngx_log_error(NGX_LOG_WARN, cf->log, 0, cf 1967 http/modules/ngx_http_proxy_module.c conf->redirects = ngx_array_create(cf->pool, 1, cf 1987 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); cf 2021 http/modules/ngx_http_proxy_module.c if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream, cf 2039 http/modules/ngx_http_proxy_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 2056 http/modules/ngx_http_proxy_module.c sc.cf = cf; cf 2069 http/modules/ngx_http_proxy_module.c conf->headers_source = ngx_array_create(cf->pool, 4, cf 2085 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_merge_headers(cf, conf, prev) != NGX_OK) { cf 2094 http/modules/ngx_http_proxy_module.c ngx_http_proxy_merge_headers(ngx_conf_t *cf, ngx_http_proxy_loc_conf_t *conf, cf 2126 http/modules/ngx_http_proxy_module.c if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) cf 2133 http/modules/ngx_http_proxy_module.c conf->headers_source = ngx_array_create(cf->pool, 4, cf 2140 http/modules/ngx_http_proxy_module.c conf->headers_set_len = ngx_array_create(cf->pool, 64, 1); cf 2145 http/modules/ngx_http_proxy_module.c conf->headers_set = ngx_array_create(cf->pool, 512, 1); cf 2268 http/modules/ngx_http_proxy_module.c sc.cf = cf; cf 2334 http/modules/ngx_http_proxy_module.c hash.pool = cf->pool; cf 2342 http/modules/ngx_http_proxy_module.c ngx_http_proxy_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2358 http/modules/ngx_http_proxy_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 2366 http/modules/ngx_http_proxy_module.c value = cf->args->elts; cf 2376 http/modules/ngx_http_proxy_module.c sc.cf = cf; cf 2389 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_set_ssl(cf, plcf) != NGX_OK) { cf 2404 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_set_ssl(cf, plcf) != NGX_OK) { cf 2411 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2417 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid URL prefix"); cf 2429 http/modules/ngx_http_proxy_module.c plcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); cf 2449 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2468 http/modules/ngx_http_proxy_module.c ngx_http_proxy_redirect(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2482 http/modules/ngx_http_proxy_module.c value = cf->args->elts; cf 2484 http/modules/ngx_http_proxy_module.c if (cf->args->nelts == 2) { cf 2492 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_ERR, cf, 0, cf 2500 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2507 http/modules/ngx_http_proxy_module.c plcf->redirects = ngx_array_create(cf->pool, 1, cf 2521 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2528 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2543 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); cf 2572 http/modules/ngx_http_proxy_module.c sc.cf = cf; cf 2593 http/modules/ngx_http_proxy_module.c ngx_http_proxy_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2606 http/modules/ngx_http_proxy_module.c value = cf->args->elts; cf 2633 http/modules/ngx_http_proxy_module.c sc.cf = cf; cf 2652 http/modules/ngx_http_proxy_module.c ngx_http_proxy_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2658 http/modules/ngx_http_proxy_module.c value = cf->args->elts; cf 2673 http/modules/ngx_http_proxy_module.c plcf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0, cf 2684 http/modules/ngx_http_proxy_module.c ngx_http_proxy_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2691 http/modules/ngx_http_proxy_module.c value = cf->args->elts; cf 2699 http/modules/ngx_http_proxy_module.c ccv.cf = cf; cf 2714 http/modules/ngx_http_proxy_module.c ngx_http_proxy_lowat_check(ngx_conf_t *cf, void *post, void *data) cf 2720 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2731 http/modules/ngx_http_proxy_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 2745 http/modules/ngx_http_proxy_module.c ngx_http_proxy_set_ssl(ngx_conf_t *cf, ngx_http_proxy_loc_conf_t *plcf) cf 2749 http/modules/ngx_http_proxy_module.c plcf->upstream.ssl = ngx_pcalloc(cf->pool, sizeof(ngx_ssl_t)); cf 2754 http/modules/ngx_http_proxy_module.c plcf->upstream.ssl->log = cf->log; cf 2763 http/modules/ngx_http_proxy_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 22 http/modules/ngx_http_random_index_module.c static ngx_int_t ngx_http_random_index_init(ngx_conf_t *cf); cf 23 http/modules/ngx_http_random_index_module.c static void *ngx_http_random_index_create_loc_conf(ngx_conf_t *cf); cf 24 http/modules/ngx_http_random_index_module.c static char *ngx_http_random_index_merge_loc_conf(ngx_conf_t *cf, cf 273 http/modules/ngx_http_random_index_module.c ngx_http_random_index_create_loc_conf(ngx_conf_t *cf) cf 277 http/modules/ngx_http_random_index_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_random_index_loc_conf_t)); cf 289 http/modules/ngx_http_random_index_module.c ngx_http_random_index_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 301 http/modules/ngx_http_random_index_module.c ngx_http_random_index_init(ngx_conf_t *cf) cf 306 http/modules/ngx_http_random_index_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 75 http/modules/ngx_http_range_filter_module.c static ngx_int_t ngx_http_range_header_filter_init(ngx_conf_t *cf); cf 76 http/modules/ngx_http_range_filter_module.c static ngx_int_t ngx_http_range_body_filter_init(ngx_conf_t *cf); cf 845 http/modules/ngx_http_range_filter_module.c ngx_http_range_header_filter_init(ngx_conf_t *cf) cf 855 http/modules/ngx_http_range_filter_module.c ngx_http_range_body_filter_init(ngx_conf_t *cf) cf 46 http/modules/ngx_http_realip_module.c static char *ngx_http_realip_from(ngx_conf_t *cf, ngx_command_t *cmd, cf 48 http/modules/ngx_http_realip_module.c static char *ngx_http_realip(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 49 http/modules/ngx_http_realip_module.c static void *ngx_http_realip_create_loc_conf(ngx_conf_t *cf); cf 50 http/modules/ngx_http_realip_module.c static char *ngx_http_realip_merge_loc_conf(ngx_conf_t *cf, cf 52 http/modules/ngx_http_realip_module.c static ngx_int_t ngx_http_realip_init(ngx_conf_t *cf); cf 312 http/modules/ngx_http_realip_module.c ngx_http_realip_from(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 321 http/modules/ngx_http_realip_module.c value = cf->args->elts; cf 333 http/modules/ngx_http_realip_module.c rlcf->from = ngx_array_create(cf->pool, 2, cf 348 http/modules/ngx_http_realip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "invalid parameter \"%V\"", cf 354 http/modules/ngx_http_realip_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 360 http/modules/ngx_http_realip_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 372 http/modules/ngx_http_realip_module.c ngx_http_realip(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 378 http/modules/ngx_http_realip_module.c value = cf->args->elts; cf 399 http/modules/ngx_http_realip_module.c ngx_http_realip_create_loc_conf(ngx_conf_t *cf) cf 403 http/modules/ngx_http_realip_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_realip_loc_conf_t)); cf 426 http/modules/ngx_http_realip_module.c ngx_http_realip_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 453 http/modules/ngx_http_realip_module.c ngx_http_realip_init(ngx_conf_t *cf) cf 458 http/modules/ngx_http_realip_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 35 http/modules/ngx_http_referer_module.c static void * ngx_http_referer_create_conf(ngx_conf_t *cf); cf 36 http/modules/ngx_http_referer_module.c static char * ngx_http_referer_merge_conf(ngx_conf_t *cf, void *parent, cf 38 http/modules/ngx_http_referer_module.c static char *ngx_http_valid_referers(ngx_conf_t *cf, ngx_command_t *cmd, cf 40 http/modules/ngx_http_referer_module.c static char *ngx_http_add_referer(ngx_conf_t *cf, ngx_hash_keys_arrays_t *keys, cf 42 http/modules/ngx_http_referer_module.c static char *ngx_http_add_regex_referer(ngx_conf_t *cf, cf 227 http/modules/ngx_http_referer_module.c ngx_http_referer_create_conf(ngx_conf_t *cf) cf 231 http/modules/ngx_http_referer_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_referer_conf_t)); cf 248 http/modules/ngx_http_referer_module.c ngx_http_referer_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 272 http/modules/ngx_http_referer_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 283 http/modules/ngx_http_referer_module.c hash.pool = cf->pool; cf 304 http/modules/ngx_http_referer_module.c hash.temp_pool = cf->temp_pool; cf 324 http/modules/ngx_http_referer_module.c hash.temp_pool = cf->temp_pool; cf 355 http/modules/ngx_http_referer_module.c ngx_http_valid_referers(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 368 http/modules/ngx_http_referer_module.c var = ngx_http_add_variable(cf, &name, cf 377 http/modules/ngx_http_referer_module.c rlcf->keys = ngx_pcalloc(cf->temp_pool, sizeof(ngx_hash_keys_arrays_t)); cf 382 http/modules/ngx_http_referer_module.c rlcf->keys->pool = cf->pool; cf 383 http/modules/ngx_http_referer_module.c rlcf->keys->temp_pool = cf->pool; cf 390 http/modules/ngx_http_referer_module.c value = cf->args->elts; cf 392 http/modules/ngx_http_referer_module.c for (i = 1; i < cf->args->nelts; i++) { cf 394 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 413 http/modules/ngx_http_referer_module.c cscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_core_module); cf 421 http/modules/ngx_http_referer_module.c if (ngx_http_add_regex_referer(cf, rlcf, &sn[n].name, cf 432 http/modules/ngx_http_referer_module.c if (ngx_http_add_referer(cf, rlcf->keys, &sn[n].name, &uri) cf 443 http/modules/ngx_http_referer_module.c if (ngx_http_add_regex_referer(cf, rlcf, &value[i], NULL) != NGX_OK) cf 459 http/modules/ngx_http_referer_module.c if (ngx_http_add_referer(cf, rlcf->keys, &value[i], &uri) != NGX_OK) { cf 469 http/modules/ngx_http_referer_module.c ngx_http_add_referer(ngx_conf_t *cf, ngx_hash_keys_arrays_t *keys, cf 479 http/modules/ngx_http_referer_module.c u = ngx_palloc(cf->pool, sizeof(ngx_str_t)); cf 494 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 499 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 508 http/modules/ngx_http_referer_module.c ngx_http_add_regex_referer(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf, cf 517 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "empty regex in \"%V\"", name); cf 522 http/modules/ngx_http_referer_module.c rlcf->regex = ngx_array_create(cf->pool, 2, sizeof(ngx_regex_elt_t)); cf 546 http/modules/ngx_http_referer_module.c rc.pool = cf->pool; cf 552 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); cf 563 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 22 http/modules/ngx_http_rewrite_module.c static void *ngx_http_rewrite_create_loc_conf(ngx_conf_t *cf); cf 23 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_merge_loc_conf(ngx_conf_t *cf, cf 25 http/modules/ngx_http_rewrite_module.c static ngx_int_t ngx_http_rewrite_init(ngx_conf_t *cf); cf 26 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 27 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_return(ngx_conf_t *cf, ngx_command_t *cmd, cf 29 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_break(ngx_conf_t *cf, ngx_command_t *cmd, cf 31 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_if(ngx_conf_t *cf, ngx_command_t *cmd, cf 33 http/modules/ngx_http_rewrite_module.c static char * ngx_http_rewrite_if_condition(ngx_conf_t *cf, cf 35 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_variable(ngx_conf_t *cf, cf 37 http/modules/ngx_http_rewrite_module.c static char *ngx_http_rewrite_set(ngx_conf_t *cf, ngx_command_t *cmd, cf 39 http/modules/ngx_http_rewrite_module.c static char * ngx_http_rewrite_value(ngx_conf_t *cf, cf 217 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_create_loc_conf(ngx_conf_t *cf) cf 221 http/modules/ngx_http_rewrite_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_rewrite_loc_conf_t)); cf 235 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 267 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_init(ngx_conf_t *cf) cf 272 http/modules/ngx_http_rewrite_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 293 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 306 http/modules/ngx_http_rewrite_module.c regex = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 314 http/modules/ngx_http_rewrite_module.c value = cf->args->elts; cf 324 http/modules/ngx_http_rewrite_module.c regex->regex = ngx_http_regex_compile(cf, &rc); cf 353 http/modules/ngx_http_rewrite_module.c if (cf->args->nelts == 4) { cf 372 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 380 http/modules/ngx_http_rewrite_module.c sc.cf = cf; cf 432 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_return(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 441 http/modules/ngx_http_rewrite_module.c ret = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 447 http/modules/ngx_http_rewrite_module.c value = cf->args->elts; cf 459 http/modules/ngx_http_rewrite_module.c if (cf->args->nelts == 2 cf 468 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 475 http/modules/ngx_http_rewrite_module.c if (cf->args->nelts == 2) { cf 484 http/modules/ngx_http_rewrite_module.c ccv.cf = cf; cf 497 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_break(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 503 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, sizeof(uintptr_t)); cf 515 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_if(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 530 http/modules/ngx_http_rewrite_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 535 http/modules/ngx_http_rewrite_module.c pctx = cf->ctx; cf 539 http/modules/ngx_http_rewrite_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 553 http/modules/ngx_http_rewrite_module.c mconf = module->create_loc_conf(cf); cf 569 http/modules/ngx_http_rewrite_module.c if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) { cf 573 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_if_condition(cf, lcf) != NGX_CONF_OK) { cf 593 http/modules/ngx_http_rewrite_module.c save = *cf; cf 594 http/modules/ngx_http_rewrite_module.c cf->ctx = ctx; cf 598 http/modules/ngx_http_rewrite_module.c cf->cmd_type = NGX_HTTP_SIF_CONF; cf 602 http/modules/ngx_http_rewrite_module.c cf->cmd_type = NGX_HTTP_LIF_CONF; cf 605 http/modules/ngx_http_rewrite_module.c rv = ngx_conf_parse(cf, NULL); cf 607 http/modules/ngx_http_rewrite_module.c *cf = save; cf 631 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_if_condition(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf) cf 643 http/modules/ngx_http_rewrite_module.c value = cf->args->elts; cf 644 http/modules/ngx_http_rewrite_module.c last = cf->args->nelts - 1; cf 647 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 662 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 681 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 686 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_variable(cf, lcf, &value[cur]) != NGX_CONF_OK) { cf 701 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_value(cf, lcf, &value[last]) != NGX_CONF_OK) { cf 705 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 718 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_value(cf, lcf, &value[last]) != NGX_CONF_OK) { cf 722 http/modules/ngx_http_rewrite_module.c code = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 737 http/modules/ngx_http_rewrite_module.c regex = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 752 http/modules/ngx_http_rewrite_module.c regex->regex = ngx_http_regex_compile(cf, &rc); cf 768 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 776 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 784 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_value(cf, lcf, &value[last]) != NGX_CONF_OK) { cf 788 http/modules/ngx_http_rewrite_module.c fop = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 838 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 843 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 851 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_variable(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf, cf 860 http/modules/ngx_http_rewrite_module.c index = ngx_http_get_variable_index(cf, value); cf 866 http/modules/ngx_http_rewrite_module.c var_code = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 880 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_set(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 890 http/modules/ngx_http_rewrite_module.c value = cf->args->elts; cf 893 http/modules/ngx_http_rewrite_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 901 http/modules/ngx_http_rewrite_module.c v = ngx_http_add_variable(cf, &value[1], NGX_HTTP_VAR_CHANGEABLE); cf 906 http/modules/ngx_http_rewrite_module.c index = ngx_http_get_variable_index(cf, &value[1]); cf 920 http/modules/ngx_http_rewrite_module.c if (ngx_http_rewrite_value(cf, lcf, &value[2]) != NGX_CONF_OK) { cf 925 http/modules/ngx_http_rewrite_module.c vhcode = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 938 http/modules/ngx_http_rewrite_module.c vcode = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 952 http/modules/ngx_http_rewrite_module.c ngx_http_rewrite_value(ngx_conf_t *cf, ngx_http_rewrite_loc_conf_t *lcf, cf 963 http/modules/ngx_http_rewrite_module.c val = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 983 http/modules/ngx_http_rewrite_module.c complex = ngx_http_script_start_code(cf->pool, &lcf->codes, cf 994 http/modules/ngx_http_rewrite_module.c sc.cf = cf; cf 43 http/modules/ngx_http_scgi_module.c static void *ngx_http_scgi_create_loc_conf(ngx_conf_t *cf); cf 44 http/modules/ngx_http_scgi_module.c static char *ngx_http_scgi_merge_loc_conf(ngx_conf_t *cf, void *parent, cf 47 http/modules/ngx_http_scgi_module.c static char *ngx_http_scgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 48 http/modules/ngx_http_scgi_module.c static char *ngx_http_scgi_store(ngx_conf_t *cf, ngx_command_t *cmd, cf 53 http/modules/ngx_http_scgi_module.c static char *ngx_http_scgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 55 http/modules/ngx_http_scgi_module.c static char *ngx_http_scgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, cf 989 http/modules/ngx_http_scgi_module.c ngx_http_scgi_create_loc_conf(ngx_conf_t *cf) cf 993 http/modules/ngx_http_scgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_scgi_loc_conf_t)); cf 1038 http/modules/ngx_http_scgi_module.c ngx_http_scgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 1094 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1118 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1129 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1149 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1171 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1197 http/modules/ngx_http_scgi_module.c if (ngx_conf_merge_path_value(cf, &conf->upstream.temp_path, cf 1215 http/modules/ngx_http_scgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1268 http/modules/ngx_http_scgi_module.c if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream, cf 1285 http/modules/ngx_http_scgi_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 1309 http/modules/ngx_http_scgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, cf 1324 http/modules/ngx_http_scgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); cf 1329 http/modules/ngx_http_scgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); cf 1334 http/modules/ngx_http_scgi_module.c if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) cf 1420 http/modules/ngx_http_scgi_module.c sc.cf = cf; cf 1467 http/modules/ngx_http_scgi_module.c hash.pool = cf->pool; cf 1480 http/modules/ngx_http_scgi_module.c ngx_http_scgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1494 http/modules/ngx_http_scgi_module.c clcf = ngx_http_conf_get_module_loc_conf (cf, ngx_http_core_module); cf 1497 http/modules/ngx_http_scgi_module.c value = cf->args->elts; cf 1507 http/modules/ngx_http_scgi_module.c sc.cf = cf; cf 1527 http/modules/ngx_http_scgi_module.c scf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); cf 1541 http/modules/ngx_http_scgi_module.c ngx_http_scgi_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1552 http/modules/ngx_http_scgi_module.c value = cf->args->elts; cf 1579 http/modules/ngx_http_scgi_module.c sc.cf = cf; cf 1598 http/modules/ngx_http_scgi_module.c ngx_http_scgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1604 http/modules/ngx_http_scgi_module.c value = cf->args->elts; cf 1619 http/modules/ngx_http_scgi_module.c scf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0, cf 1630 http/modules/ngx_http_scgi_module.c ngx_http_scgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1637 http/modules/ngx_http_scgi_module.c value = cf->args->elts; cf 1645 http/modules/ngx_http_scgi_module.c ccv.cf = cf; cf 30 http/modules/ngx_http_secure_link_module.c static void *ngx_http_secure_link_create_conf(ngx_conf_t *cf); cf 31 http/modules/ngx_http_secure_link_module.c static char *ngx_http_secure_link_merge_conf(ngx_conf_t *cf, void *parent, cf 33 http/modules/ngx_http_secure_link_module.c static ngx_int_t ngx_http_secure_link_add_variables(ngx_conf_t *cf); cf 293 http/modules/ngx_http_secure_link_module.c ngx_http_secure_link_create_conf(ngx_conf_t *cf) cf 297 http/modules/ngx_http_secure_link_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_secure_link_conf_t)); cf 315 http/modules/ngx_http_secure_link_module.c ngx_http_secure_link_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 335 http/modules/ngx_http_secure_link_module.c ngx_http_secure_link_add_variables(ngx_conf_t *cf) cf 339 http/modules/ngx_http_secure_link_module.c var = ngx_http_add_variable(cf, &ngx_http_secure_link_name, 0); cf 346 http/modules/ngx_http_secure_link_module.c var = ngx_http_add_variable(cf, &ngx_http_secure_link_expires_name, 0); cf 24 http/modules/ngx_http_split_clients_module.c static char *ngx_conf_split_clients_block(ngx_conf_t *cf, ngx_command_t *cmd, cf 26 http/modules/ngx_http_split_clients_module.c static char *ngx_http_split_clients(ngx_conf_t *cf, ngx_command_t *dummy, cf 110 http/modules/ngx_http_split_clients_module.c ngx_conf_split_clients_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 121 http/modules/ngx_http_split_clients_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_split_clients_ctx_t)); cf 126 http/modules/ngx_http_split_clients_module.c value = cf->args->elts; cf 130 http/modules/ngx_http_split_clients_module.c ccv.cf = cf; cf 142 http/modules/ngx_http_split_clients_module.c var = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); cf 150 http/modules/ngx_http_split_clients_module.c if (ngx_array_init(&ctx->parts, cf->pool, 2, cf 157 http/modules/ngx_http_split_clients_module.c save = *cf; cf 158 http/modules/ngx_http_split_clients_module.c cf->ctx = ctx; cf 159 http/modules/ngx_http_split_clients_module.c cf->handler = ngx_http_split_clients; cf 160 http/modules/ngx_http_split_clients_module.c cf->handler_conf = conf; cf 162 http/modules/ngx_http_split_clients_module.c rv = ngx_conf_parse(cf, NULL); cf 164 http/modules/ngx_http_split_clients_module.c *cf = save; cf 177 http/modules/ngx_http_split_clients_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 197 http/modules/ngx_http_split_clients_module.c ngx_http_split_clients(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) cf 204 http/modules/ngx_http_split_clients_module.c ctx = cf->ctx; cf 205 http/modules/ngx_http_split_clients_module.c value = cf->args->elts; cf 238 http/modules/ngx_http_split_clients_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 108 http/modules/ngx_http_ssi_filter_module.c static ngx_int_t ngx_http_ssi_preconfiguration(ngx_conf_t *cf); cf 109 http/modules/ngx_http_ssi_filter_module.c static void *ngx_http_ssi_create_main_conf(ngx_conf_t *cf); cf 110 http/modules/ngx_http_ssi_filter_module.c static char *ngx_http_ssi_init_main_conf(ngx_conf_t *cf, void *conf); cf 111 http/modules/ngx_http_ssi_filter_module.c static void *ngx_http_ssi_create_loc_conf(ngx_conf_t *cf); cf 112 http/modules/ngx_http_ssi_filter_module.c static char *ngx_http_ssi_merge_loc_conf(ngx_conf_t *cf, cf 114 http/modules/ngx_http_ssi_filter_module.c static ngx_int_t ngx_http_ssi_filter_init(ngx_conf_t *cf); cf 2649 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_preconfiguration(ngx_conf_t *cf) cf 2657 http/modules/ngx_http_ssi_filter_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 2666 http/modules/ngx_http_ssi_filter_module.c smcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_ssi_filter_module); cf 2677 http/modules/ngx_http_ssi_filter_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2689 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_create_main_conf(ngx_conf_t *cf) cf 2693 http/modules/ngx_http_ssi_filter_module.c smcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_main_conf_t)); cf 2698 http/modules/ngx_http_ssi_filter_module.c smcf->commands.pool = cf->pool; cf 2699 http/modules/ngx_http_ssi_filter_module.c smcf->commands.temp_pool = cf->temp_pool; cf 2710 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_init_main_conf(ngx_conf_t *cf, void *conf) cf 2721 http/modules/ngx_http_ssi_filter_module.c hash.pool = cf->pool; cf 2736 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_create_loc_conf(ngx_conf_t *cf) cf 2740 http/modules/ngx_http_ssi_filter_module.c slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t)); cf 2764 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 2777 http/modules/ngx_http_ssi_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 2790 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_filter_init(ngx_conf_t *cf) cf 24 http/modules/ngx_http_ssl_module.c static ngx_int_t ngx_http_ssl_add_variables(ngx_conf_t *cf); cf 25 http/modules/ngx_http_ssl_module.c static void *ngx_http_ssl_create_srv_conf(ngx_conf_t *cf); cf 26 http/modules/ngx_http_ssl_module.c static char *ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, cf 29 http/modules/ngx_http_ssl_module.c static char *ngx_http_ssl_enable(ngx_conf_t *cf, ngx_command_t *cmd, cf 31 http/modules/ngx_http_ssl_module.c static char *ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 280 http/modules/ngx_http_ssl_module.c ngx_http_ssl_add_variables(ngx_conf_t *cf) cf 285 http/modules/ngx_http_ssl_module.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 299 http/modules/ngx_http_ssl_module.c ngx_http_ssl_create_srv_conf(ngx_conf_t *cf) cf 303 http/modules/ngx_http_ssl_module.c sscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssl_srv_conf_t)); cf 333 http/modules/ngx_http_ssl_module.c ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 366 http/modules/ngx_http_ssl_module.c conf->ssl.log = cf->log; cf 371 http/modules/ngx_http_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 379 http/modules/ngx_http_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 393 http/modules/ngx_http_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 410 http/modules/ngx_http_ssl_module.c ngx_log_error(NGX_LOG_WARN, cf->log, 0, cf 418 http/modules/ngx_http_ssl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 426 http/modules/ngx_http_ssl_module.c if (ngx_ssl_certificate(cf, &conf->ssl, &conf->certificate, cf 437 http/modules/ngx_http_ssl_module.c ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, cf 445 http/modules/ngx_http_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 450 http/modules/ngx_http_ssl_module.c if (ngx_ssl_client_certificate(cf, &conf->ssl, cf 458 http/modules/ngx_http_ssl_module.c if (ngx_ssl_crl(cf, &conf->ssl, &conf->crl) != NGX_OK) { cf 472 http/modules/ngx_http_ssl_module.c if (ngx_ssl_dhparam(cf, &conf->ssl, &conf->dhparam) != NGX_OK) { cf 496 http/modules/ngx_http_ssl_module.c ngx_http_ssl_enable(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 502 http/modules/ngx_http_ssl_module.c rv = ngx_conf_set_flag_slot(cf, cmd, conf); cf 508 http/modules/ngx_http_ssl_module.c sscf->file = cf->conf_file->file.name.data; cf 509 http/modules/ngx_http_ssl_module.c sscf->line = cf->conf_file->line; cf 516 http/modules/ngx_http_ssl_module.c ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 525 http/modules/ngx_http_ssl_module.c value = cf->args->elts; cf 527 http/modules/ngx_http_ssl_module.c for (i = 1; i < cf->args->nelts; i++) { cf 592 http/modules/ngx_http_ssl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 599 http/modules/ngx_http_ssl_module.c sscf->shm_zone = ngx_shared_memory_add(cf, &name, n, cf 619 http/modules/ngx_http_ssl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 13 http/modules/ngx_http_static_module.c static ngx_int_t ngx_http_static_init(ngx_conf_t *cf); cf 260 http/modules/ngx_http_static_module.c ngx_http_static_init(ngx_conf_t *cf) cf 265 http/modules/ngx_http_static_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 12 http/modules/ngx_http_stub_status_module.c static char *ngx_http_set_status(ngx_conf_t *cf, ngx_command_t *cmd, cf 135 http/modules/ngx_http_stub_status_module.c static char *ngx_http_set_status(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 139 http/modules/ngx_http_stub_status_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 60 http/modules/ngx_http_sub_filter_module.c static char * ngx_http_sub_filter(ngx_conf_t *cf, ngx_command_t *cmd, cf 62 http/modules/ngx_http_sub_filter_module.c static void *ngx_http_sub_create_conf(ngx_conf_t *cf); cf 63 http/modules/ngx_http_sub_filter_module.c static char *ngx_http_sub_merge_conf(ngx_conf_t *cf, cf 65 http/modules/ngx_http_sub_filter_module.c static ngx_int_t ngx_http_sub_filter_init(ngx_conf_t *cf); cf 622 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_filter(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 633 http/modules/ngx_http_sub_filter_module.c value = cf->args->elts; cf 641 http/modules/ngx_http_sub_filter_module.c ccv.cf = cf; cf 654 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_create_conf(ngx_conf_t *cf) cf 658 http/modules/ngx_http_sub_filter_module.c slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_sub_loc_conf_t)); cf 681 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 693 http/modules/ngx_http_sub_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 706 http/modules/ngx_http_sub_filter_module.c ngx_http_sub_filter_init(ngx_conf_t *cf) cf 30 http/modules/ngx_http_upstream_ip_hash_module.c static char *ngx_http_upstream_ip_hash(ngx_conf_t *cf, ngx_command_t *cmd, cf 79 http/modules/ngx_http_upstream_ip_hash_module.c ngx_http_upstream_init_ip_hash(ngx_conf_t *cf, ngx_http_upstream_srv_conf_t *us) cf 81 http/modules/ngx_http_upstream_ip_hash_module.c if (ngx_http_upstream_init_round_robin(cf, us) != NGX_OK) { cf 222 http/modules/ngx_http_upstream_ip_hash_module.c ngx_http_upstream_ip_hash(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 226 http/modules/ngx_http_upstream_ip_hash_module.c uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module); cf 53 http/modules/ngx_http_userid_filter_module.c static ngx_int_t ngx_http_userid_add_variables(ngx_conf_t *cf); cf 54 http/modules/ngx_http_userid_filter_module.c static ngx_int_t ngx_http_userid_init(ngx_conf_t *cf); cf 55 http/modules/ngx_http_userid_filter_module.c static void *ngx_http_userid_create_conf(ngx_conf_t *cf); cf 56 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_merge_conf(ngx_conf_t *cf, void *parent, cf 58 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_domain(ngx_conf_t *cf, void *post, void *data); cf 59 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_path(ngx_conf_t *cf, void *post, void *data); cf 60 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_expires(ngx_conf_t *cf, ngx_command_t *cmd, cf 62 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_p3p(ngx_conf_t *cf, void *post, void *data); cf 63 http/modules/ngx_http_userid_filter_module.c static char *ngx_http_userid_mark(ngx_conf_t *cf, ngx_command_t *cmd, cf 569 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_add_variables(ngx_conf_t *cf) cf 573 http/modules/ngx_http_userid_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_userid_got, 0); cf 580 http/modules/ngx_http_userid_filter_module.c var = ngx_http_add_variable(cf, &ngx_http_userid_set, 0); cf 592 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_create_conf(ngx_conf_t *cf) cf 596 http/modules/ngx_http_userid_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_userid_conf_t)); cf 620 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 649 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_init(ngx_conf_t *cf) cf 659 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_domain(ngx_conf_t *cf, void *post, void *data) cf 670 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; domain=") - 1 + domain->len); cf 686 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_path(ngx_conf_t *cf, void *post, void *data) cf 692 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; path=") - 1 + path->len); cf 708 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_expires(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 718 http/modules/ngx_http_userid_filter_module.c value = cf->args->elts; cf 744 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_p3p(ngx_conf_t *cf, void *post, void *data) cf 757 http/modules/ngx_http_userid_filter_module.c ngx_http_userid_mark(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 767 http/modules/ngx_http_userid_filter_module.c value = cf->args->elts; cf 50 http/modules/ngx_http_uwsgi_module.c static void *ngx_http_uwsgi_create_loc_conf(ngx_conf_t *cf); cf 51 http/modules/ngx_http_uwsgi_module.c static char *ngx_http_uwsgi_merge_loc_conf(ngx_conf_t *cf, void *parent, cf 54 http/modules/ngx_http_uwsgi_module.c static char *ngx_http_uwsgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, cf 56 http/modules/ngx_http_uwsgi_module.c static char *ngx_http_uwsgi_store(ngx_conf_t *cf, ngx_command_t *cmd, cf 61 http/modules/ngx_http_uwsgi_module.c static char *ngx_http_uwsgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 63 http/modules/ngx_http_uwsgi_module.c static char *ngx_http_uwsgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, cf 1039 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_create_loc_conf(ngx_conf_t *cf) cf 1043 http/modules/ngx_http_uwsgi_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_uwsgi_loc_conf_t)); cf 1091 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 1147 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1171 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1182 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1202 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1224 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1250 http/modules/ngx_http_uwsgi_module.c if (ngx_conf_merge_path_value(cf, &conf->upstream.temp_path, cf 1268 http/modules/ngx_http_uwsgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1323 http/modules/ngx_http_uwsgi_module.c if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream, cf 1340 http/modules/ngx_http_uwsgi_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 1367 http/modules/ngx_http_uwsgi_module.c conf->params_source = ngx_array_create(cf->pool, 6, cf 1382 http/modules/ngx_http_uwsgi_module.c conf->params_len = ngx_array_create(cf->pool, 64, 1); cf 1387 http/modules/ngx_http_uwsgi_module.c conf->params = ngx_array_create(cf->pool, 512, 1); cf 1392 http/modules/ngx_http_uwsgi_module.c if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) cf 1478 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; cf 1518 http/modules/ngx_http_uwsgi_module.c hash.pool = cf->pool; cf 1531 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_pass(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1545 http/modules/ngx_http_uwsgi_module.c clcf = ngx_http_conf_get_module_loc_conf (cf, ngx_http_core_module); cf 1548 http/modules/ngx_http_uwsgi_module.c value = cf->args->elts; cf 1558 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; cf 1578 http/modules/ngx_http_uwsgi_module.c uwcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); cf 1592 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_store(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1604 http/modules/ngx_http_uwsgi_module.c value = cf->args->elts; cf 1631 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; cf 1650 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1656 http/modules/ngx_http_uwsgi_module.c value = cf->args->elts; cf 1671 http/modules/ngx_http_uwsgi_module.c uwcf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0, cf 1682 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_cache_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1689 http/modules/ngx_http_uwsgi_module.c value = cf->args->elts; cf 1697 http/modules/ngx_http_uwsgi_module.c ccv.cf = cf; cf 83 http/modules/ngx_http_xslt_filter_module.c static char *ngx_http_xslt_entities(ngx_conf_t *cf, ngx_command_t *cmd, cf 85 http/modules/ngx_http_xslt_filter_module.c static char *ngx_http_xslt_stylesheet(ngx_conf_t *cf, ngx_command_t *cmd, cf 89 http/modules/ngx_http_xslt_filter_module.c static void *ngx_http_xslt_filter_create_main_conf(ngx_conf_t *cf); cf 90 http/modules/ngx_http_xslt_filter_module.c static void *ngx_http_xslt_filter_create_conf(ngx_conf_t *cf); cf 91 http/modules/ngx_http_xslt_filter_module.c static char *ngx_http_xslt_filter_merge_conf(ngx_conf_t *cf, void *parent, cf 93 http/modules/ngx_http_xslt_filter_module.c static ngx_int_t ngx_http_xslt_filter_init(ngx_conf_t *cf); cf 706 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_entities(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 720 http/modules/ngx_http_xslt_filter_module.c value = cf->args->elts; cf 722 http/modules/ngx_http_xslt_filter_module.c xmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_xslt_filter_module); cf 732 http/modules/ngx_http_xslt_filter_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 740 http/modules/ngx_http_xslt_filter_module.c ngx_conf_log_error(NGX_LOG_ERR, cf, 0, "xmlParseDTD() failed"); cf 761 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_stylesheet(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 774 http/modules/ngx_http_xslt_filter_module.c value = cf->args->elts; cf 777 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&xlcf->sheets, cf->pool, 1, cf 792 http/modules/ngx_http_xslt_filter_module.c if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { cf 796 http/modules/ngx_http_xslt_filter_module.c xmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_xslt_filter_module); cf 806 http/modules/ngx_http_xslt_filter_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 813 http/modules/ngx_http_xslt_filter_module.c ngx_conf_log_error(NGX_LOG_ERR, cf, 0, cf 832 http/modules/ngx_http_xslt_filter_module.c n = cf->args->nelts; cf 838 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&sheet->params, cf->pool, n - 2, cf 854 http/modules/ngx_http_xslt_filter_module.c ccv.cf = cf; cf 883 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_filter_create_main_conf(ngx_conf_t *cf) cf 887 http/modules/ngx_http_xslt_filter_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_xslt_filter_main_conf_t)); cf 892 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&conf->dtd_files, cf->pool, 1, cf 899 http/modules/ngx_http_xslt_filter_module.c if (ngx_array_init(&conf->sheet_files, cf->pool, 1, cf 911 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_filter_create_conf(ngx_conf_t *cf) cf 915 http/modules/ngx_http_xslt_filter_module.c conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_xslt_filter_loc_conf_t)); cf 934 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_filter_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 947 http/modules/ngx_http_xslt_filter_module.c if (ngx_http_merge_types(cf, &conf->types_keys, &conf->types, cf 960 http/modules/ngx_http_xslt_filter_module.c ngx_http_xslt_filter_init(ngx_conf_t *cf) cf 38 http/modules/perl/ngx_http_perl_module.c static char *ngx_http_perl_init_interpreter(ngx_conf_t *cf, cf 40 http/modules/perl/ngx_http_perl_module.c static PerlInterpreter *ngx_http_perl_create_interpreter(ngx_conf_t *cf, cf 48 http/modules/perl/ngx_http_perl_module.c static ngx_int_t ngx_http_perl_preconfiguration(ngx_conf_t *cf); cf 49 http/modules/perl/ngx_http_perl_module.c static void *ngx_http_perl_create_main_conf(ngx_conf_t *cf); cf 50 http/modules/perl/ngx_http_perl_module.c static char *ngx_http_perl_init_main_conf(ngx_conf_t *cf, void *conf); cf 51 http/modules/perl/ngx_http_perl_module.c static void *ngx_http_perl_create_loc_conf(ngx_conf_t *cf); cf 52 http/modules/perl/ngx_http_perl_module.c static char *ngx_http_perl_merge_loc_conf(ngx_conf_t *cf, void *parent, cf 54 http/modules/perl/ngx_http_perl_module.c static char *ngx_http_perl(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 55 http/modules/perl/ngx_http_perl_module.c static char *ngx_http_perl_set(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 453 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_init_interpreter(ngx_conf_t *cf, ngx_http_perl_main_conf_t *pmcf) cf 460 http/modules/perl/ngx_http_perl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 470 http/modules/perl/ngx_http_perl_module.c pmcf->modules = ngx_array_create(cf->pool, 1, sizeof(ngx_str_t)); cf 487 http/modules/perl/ngx_http_perl_module.c if (ngx_conf_full_name(cf->cycle, &m[i], 0) != NGX_OK) { cf 497 http/modules/perl/ngx_http_perl_module.c if (ngx_set_environment(cf->cycle, NULL) == NULL) { cf 501 http/modules/perl/ngx_http_perl_module.c if (ngx_http_perl_run_requires(aTHX_ pmcf->requires, cf->log) cf 519 http/modules/perl/ngx_http_perl_module.c pmcf->perl = ngx_http_perl_create_interpreter(cf, pmcf); cf 543 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_create_interpreter(ngx_conf_t *cf, cf 554 http/modules/perl/ngx_http_perl_module.c ngx_log_debug0(NGX_LOG_DEBUG_HTTP, cf->log, 0, "create perl interpreter"); cf 556 http/modules/perl/ngx_http_perl_module.c if (ngx_set_environment(cf->cycle, NULL) == NULL) { cf 562 http/modules/perl/ngx_http_perl_module.c ngx_log_error(NGX_LOG_ALERT, cf->log, 0, "perl_alloc() failed"); cf 579 http/modules/perl/ngx_http_perl_module.c embedding = ngx_palloc(cf->pool, (4 + n) * sizeof(char *)); cf 601 http/modules/perl/ngx_http_perl_module.c ngx_log_error(NGX_LOG_ALERT, cf->log, 0, "perl_parse() failed: %d", n); cf 609 http/modules/perl/ngx_http_perl_module.c ngx_log_error(NGX_LOG_ALERT, cf->log, 0, cf 615 http/modules/perl/ngx_http_perl_module.c if (ngx_http_perl_run_requires(aTHX_ pmcf->requires, cf->log) != NGX_OK) { cf 790 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_create_main_conf(ngx_conf_t *cf) cf 794 http/modules/perl/ngx_http_perl_module.c pmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_main_conf_t)); cf 807 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_init_main_conf(ngx_conf_t *cf, void *conf) cf 812 http/modules/perl/ngx_http_perl_module.c if (ngx_http_perl_init_interpreter(cf, pmcf) != NGX_CONF_OK) { cf 845 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_preconfiguration(ngx_conf_t *cf) cf 851 http/modules/perl/ngx_http_perl_module.c smcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_ssi_filter_module); cf 858 http/modules/perl/ngx_http_perl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 872 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_create_loc_conf(ngx_conf_t *cf) cf 876 http/modules/perl/ngx_http_perl_module.c plcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_loc_conf_t)); cf 892 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 907 http/modules/perl/ngx_http_perl_module.c ngx_http_perl(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 915 http/modules/perl/ngx_http_perl_module.c value = cf->args->elts; cf 918 http/modules/perl/ngx_http_perl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 923 http/modules/perl/ngx_http_perl_module.c pmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_perl_module); cf 926 http/modules/perl/ngx_http_perl_module.c if (ngx_http_perl_init_interpreter(cf, pmcf) != NGX_CONF_OK) { cf 941 http/modules/perl/ngx_http_perl_module.c ngx_conf_log_error(NGX_LOG_ERR, cf, 0, cf 952 http/modules/perl/ngx_http_perl_module.c clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); cf 960 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_set(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 968 http/modules/perl/ngx_http_perl_module.c value = cf->args->elts; cf 971 http/modules/perl/ngx_http_perl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 979 http/modules/perl/ngx_http_perl_module.c v = ngx_http_add_variable(cf, &value[1], NGX_HTTP_VAR_CHANGEABLE); cf 984 http/modules/perl/ngx_http_perl_module.c pv = ngx_palloc(cf->pool, sizeof(ngx_http_perl_variable_t)); cf 989 http/modules/perl/ngx_http_perl_module.c index = ngx_http_get_variable_index(cf, &value[1]); cf 994 http/modules/perl/ngx_http_perl_module.c pmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_perl_module); cf 997 http/modules/perl/ngx_http_perl_module.c if (ngx_http_perl_init_interpreter(cf, pmcf) != NGX_CONF_OK) { cf 1012 http/modules/perl/ngx_http_perl_module.c ngx_conf_log_error(NGX_LOG_ERR, cf, 0, cf 12 http/ngx_http.c static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 13 http/ngx_http.c static ngx_int_t ngx_http_init_phases(ngx_conf_t *cf, cf 15 http/ngx_http.c static ngx_int_t ngx_http_init_headers_in_hash(ngx_conf_t *cf, cf 17 http/ngx_http.c static ngx_int_t ngx_http_init_phase_handlers(ngx_conf_t *cf, cf 20 http/ngx_http.c static ngx_int_t ngx_http_add_addresses(ngx_conf_t *cf, cf 23 http/ngx_http.c static ngx_int_t ngx_http_add_address(ngx_conf_t *cf, cf 26 http/ngx_http.c static ngx_int_t ngx_http_add_server(ngx_conf_t *cf, cf 29 http/ngx_http.c static char *ngx_http_merge_servers(ngx_conf_t *cf, cf 32 http/ngx_http.c static char *ngx_http_merge_locations(ngx_conf_t *cf, cf 35 http/ngx_http.c static ngx_int_t ngx_http_init_locations(ngx_conf_t *cf, cf 37 http/ngx_http.c static ngx_int_t ngx_http_init_static_location_trees(ngx_conf_t *cf, cf 41 http/ngx_http.c static ngx_int_t ngx_http_join_exact_locations(ngx_conf_t *cf, cf 46 http/ngx_http.c ngx_http_create_locations_tree(ngx_conf_t *cf, ngx_queue_t *locations, cf 49 http/ngx_http.c static ngx_int_t ngx_http_optimize_servers(ngx_conf_t *cf, cf 51 http/ngx_http.c static ngx_int_t ngx_http_server_names(ngx_conf_t *cf, cf 57 http/ngx_http.c static ngx_int_t ngx_http_init_listening(ngx_conf_t *cf, cf 59 http/ngx_http.c static ngx_listening_t *ngx_http_add_listening(ngx_conf_t *cf, cf 61 http/ngx_http.c static ngx_int_t ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport, cf 64 http/ngx_http.c static ngx_int_t ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport, cf 118 http/ngx_http.c ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 131 http/ngx_http.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 153 http/ngx_http.c ctx->main_conf = ngx_pcalloc(cf->pool, cf 165 http/ngx_http.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 176 http/ngx_http.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 196 http/ngx_http.c ctx->main_conf[mi] = module->create_main_conf(cf); cf 203 http/ngx_http.c ctx->srv_conf[mi] = module->create_srv_conf(cf); cf 210 http/ngx_http.c ctx->loc_conf[mi] = module->create_loc_conf(cf); cf 217 http/ngx_http.c pcf = *cf; cf 218 http/ngx_http.c cf->ctx = ctx; cf 228 http/ngx_http.c if (module->preconfiguration(cf) != NGX_OK) { cf 236 http/ngx_http.c cf->module_type = NGX_HTTP_MODULE; cf 237 http/ngx_http.c cf->cmd_type = NGX_HTTP_MAIN_CONF; cf 238 http/ngx_http.c rv = ngx_conf_parse(cf, NULL); cf 263 http/ngx_http.c rv = module->init_main_conf(cf, ctx->main_conf[mi]); cf 269 http/ngx_http.c rv = ngx_http_merge_servers(cf, cmcf, module, mi); cf 282 http/ngx_http.c if (ngx_http_init_locations(cf, cscfp[s], clcf) != NGX_OK) { cf 286 http/ngx_http.c if (ngx_http_init_static_location_trees(cf, clcf) != NGX_OK) { cf 292 http/ngx_http.c if (ngx_http_init_phases(cf, cmcf) != NGX_OK) { cf 296 http/ngx_http.c if (ngx_http_init_headers_in_hash(cf, cmcf) != NGX_OK) { cf 309 http/ngx_http.c if (module->postconfiguration(cf) != NGX_OK) { cf 315 http/ngx_http.c if (ngx_http_variables_init_vars(cf) != NGX_OK) { cf 324 http/ngx_http.c *cf = pcf; cf 327 http/ngx_http.c if (ngx_http_init_phase_handlers(cf, cmcf) != NGX_OK) { cf 334 http/ngx_http.c if (ngx_http_optimize_servers(cf, cmcf, cmcf->ports) != NGX_OK) { cf 342 http/ngx_http.c *cf = pcf; cf 349 http/ngx_http.c ngx_http_init_phases(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf) cf 352 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) cf 359 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) cf 366 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) cf 373 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) cf 380 http/ngx_http.c cf->pool, 2, sizeof(ngx_http_handler_pt)) cf 387 http/ngx_http.c cf->pool, 4, sizeof(ngx_http_handler_pt)) cf 394 http/ngx_http.c cf->pool, 1, sizeof(ngx_http_handler_pt)) cf 405 http/ngx_http.c ngx_http_init_headers_in_hash(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf) cf 412 http/ngx_http.c if (ngx_array_init(&headers_in, cf->temp_pool, 32, sizeof(ngx_hash_key_t)) cf 434 http/ngx_http.c hash.pool = cf->pool; cf 446 http/ngx_http.c ngx_http_init_phase_handlers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf) cf 467 http/ngx_http.c ph = ngx_pcalloc(cf->pool, cf 562 http/ngx_http.c ngx_http_merge_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf, cf 572 http/ngx_http.c ctx = (ngx_http_conf_ctx_t *) cf->ctx; cf 583 http/ngx_http.c rv = module->merge_srv_conf(cf, saved.srv_conf[ctx_index], cf 596 http/ngx_http.c rv = module->merge_loc_conf(cf, saved.loc_conf[ctx_index], cf 606 http/ngx_http.c rv = ngx_http_merge_locations(cf, clcf->locations, cf 624 http/ngx_http.c ngx_http_merge_locations(ngx_conf_t *cf, ngx_queue_t *locations, cf 637 http/ngx_http.c ctx = (ngx_http_conf_ctx_t *) cf->ctx; cf 649 http/ngx_http.c rv = module->merge_loc_conf(cf, loc_conf[ctx_index], cf 655 http/ngx_http.c rv = ngx_http_merge_locations(cf, clcf->locations, clcf->loc_conf, cf 669 http/ngx_http.c ngx_http_init_locations(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 705 http/ngx_http.c if (ngx_http_init_locations(cf, NULL, clcf) != NGX_OK) { cf 743 http/ngx_http.c clcfp = ngx_palloc(cf->pool, cf 769 http/ngx_http.c clcfp = ngx_palloc(cf->pool, cf 798 http/ngx_http.c ngx_http_init_static_location_trees(ngx_conf_t *cf, cf 823 http/ngx_http.c if (ngx_http_init_static_location_trees(cf, clcf) != NGX_OK) { cf 828 http/ngx_http.c if (ngx_http_join_exact_locations(cf, locations) != NGX_OK) { cf 834 http/ngx_http.c pclcf->static_locations = ngx_http_create_locations_tree(cf, locations, 0); cf 844 http/ngx_http.c ngx_http_add_location(ngx_conf_t *cf, ngx_queue_t **locations, cf 850 http/ngx_http.c *locations = ngx_palloc(cf->temp_pool, cf 859 http/ngx_http.c lq = ngx_palloc(cf->temp_pool, sizeof(ngx_http_location_queue_t)); cf 879 http/ngx_http.c lq->file_name = cf->conf_file->file.name.data; cf 880 http/ngx_http.c lq->line = cf->conf_file->line; cf 963 http/ngx_http.c ngx_http_join_exact_locations(ngx_conf_t *cf, ngx_queue_t *locations) cf 980 http/ngx_http.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 1066 http/ngx_http.c ngx_http_create_locations_tree(ngx_conf_t *cf, ngx_queue_t *locations, cf 1079 http/ngx_http.c node = ngx_palloc(cf->pool, cf 1107 http/ngx_http.c node->left = ngx_http_create_locations_tree(cf, locations, prefix); cf 1118 http/ngx_http.c node->right = ngx_http_create_locations_tree(cf, &tail, prefix); cf 1129 http/ngx_http.c node->tree = ngx_http_create_locations_tree(cf, &lq->list, prefix + len); cf 1139 http/ngx_http.c ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 1152 http/ngx_http.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 1155 http/ngx_http.c cmcf->ports = ngx_array_create(cf->temp_pool, 2, cf 1194 http/ngx_http.c return ngx_http_add_addresses(cf, cscf, &port[i], lsopt); cf 1208 http/ngx_http.c return ngx_http_add_address(cf, cscf, port, lsopt); cf 1213 http/ngx_http.c ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 1269 http/ngx_http.c if (ngx_http_add_server(cf, cscf, &addr[i]) != NGX_OK) { cf 1283 http/ngx_http.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1296 http/ngx_http.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1315 http/ngx_http.c return ngx_http_add_address(cf, cscf, port, lsopt); cf 1325 http/ngx_http.c ngx_http_add_address(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 1331 http/ngx_http.c if (ngx_array_init(&port->addrs, cf->temp_pool, 4, cf 1356 http/ngx_http.c return ngx_http_add_server(cf, cscf, addr); cf 1363 http/ngx_http.c ngx_http_add_server(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 1370 http/ngx_http.c if (ngx_array_init(&addr->servers, cf->temp_pool, 4, cf 1381 http/ngx_http.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1400 http/ngx_http.c ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf, cf 1431 http/ngx_http.c if (ngx_http_server_names(cf, cmcf, &addr[a]) != NGX_OK) { cf 1437 http/ngx_http.c if (ngx_http_init_listening(cf, &port[p]) != NGX_OK) { cf 1447 http/ngx_http.c ngx_http_server_names(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf, cf 1464 http/ngx_http.c ha.temp_pool = ngx_create_pool(16384, cf->log); cf 1469 http/ngx_http.c ha.pool = cf->pool; cf 1498 http/ngx_http.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 1505 http/ngx_http.c ngx_log_error(NGX_LOG_WARN, cf->log, 0, cf 1516 http/ngx_http.c hash.pool = cf->pool; cf 1572 http/ngx_http.c addr->regex = ngx_palloc(cf->pool, regex * sizeof(ngx_http_server_name_t)); cf 1644 http/ngx_http.c ngx_http_init_listening(ngx_conf_t *cf, ngx_http_conf_port_t *port) cf 1678 http/ngx_http.c ls = ngx_http_add_listening(cf, &addr[i]); cf 1683 http/ngx_http.c hport = ngx_pcalloc(cf->pool, sizeof(ngx_http_port_t)); cf 1702 http/ngx_http.c if (ngx_http_add_addrs6(cf, hport, addr) != NGX_OK) { cf 1708 http/ngx_http.c if (ngx_http_add_addrs(cf, hport, addr) != NGX_OK) { cf 1723 http/ngx_http.c ngx_http_add_listening(ngx_conf_t *cf, ngx_http_conf_addr_t *addr) cf 1729 http/ngx_http.c ls = ngx_create_listening(cf, &addr->opt.u.sockaddr, addr->opt.socklen); cf 1752 http/ngx_http.c iocpcf = ngx_event_get_conf(cf->cycle->conf_ctx, ngx_iocp_module); cf 1784 http/ngx_http.c ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport, cf 1792 http/ngx_http.c hport->addrs = ngx_pcalloc(cf->pool, cf 1822 http/ngx_http.c vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); cf 1845 http/ngx_http.c ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport, cf 1853 http/ngx_http.c hport->addrs = ngx_pcalloc(cf->pool, cf 1883 http/ngx_http.c vn = ngx_palloc(cf->pool, sizeof(ngx_http_virtual_names_t)); cf 1906 http/ngx_http.c ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1924 http/ngx_http.c *types = ngx_array_create(cf->temp_pool, 1, sizeof(ngx_hash_key_t)); cf 1942 http/ngx_http.c value = cf->args->elts; cf 1944 http/ngx_http.c for (i = 1; i < cf->args->nelts; i++) { cf 1958 http/ngx_http.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 1979 http/ngx_http.c ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t **keys, ngx_hash_t *types_hash, cf 1996 http/ngx_http.c hash.pool = cf->pool; cf 2010 http/ngx_http.c if (ngx_http_set_default_types(cf, prev_keys, default_types) cf 2026 http/ngx_http.c hash.pool = cf->pool; cf 2044 http/ngx_http.c ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types, cf 2049 http/ngx_http.c *types = ngx_array_create(cf->temp_pool, 1, sizeof(ngx_hash_key_t)); cf 66 http/ngx_http.h ngx_int_t ngx_http_add_location(ngx_conf_t *cf, ngx_queue_t **locations, cf 68 http/ngx_http.h ngx_int_t ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cf 138 http/ngx_http.h char *ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 139 http/ngx_http.h char *ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t **keys, cf 142 http/ngx_http.h ngx_int_t ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types, cf 197 http/ngx_http_busy_lock.c char *ngx_http_set_busy_lock_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 212 http/ngx_http_busy_lock.c bl = ngx_pcalloc(cf->pool, sizeof(ngx_http_busy_lock_t)); cf 219 http/ngx_http_busy_lock.c bl->mutex = ngx_pcalloc(cf->pool, sizeof(ngx_event_mutex_t)); cf 226 http/ngx_http_busy_lock.c value = cf->args->elts; cf 228 http/ngx_http_busy_lock.c for (i = 1; i < cf->args->nelts; i++) { cf 231 http/ngx_http_busy_lock.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 288 http/ngx_http_busy_lock.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 294 http/ngx_http_busy_lock.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 301 http/ngx_http_busy_lock.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 49 http/ngx_http_busy_lock.h char *ngx_http_set_busy_lock_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 137 http/ngx_http_cache.h char *ngx_http_file_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 139 http/ngx_http_cache.h char *ngx_http_file_cache_valid_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 24 http/ngx_http_config.h ngx_int_t (*preconfiguration)(ngx_conf_t *cf); cf 25 http/ngx_http_config.h ngx_int_t (*postconfiguration)(ngx_conf_t *cf); cf 27 http/ngx_http_config.h void *(*create_main_conf)(ngx_conf_t *cf); cf 28 http/ngx_http_config.h char *(*init_main_conf)(ngx_conf_t *cf, void *conf); cf 30 http/ngx_http_config.h void *(*create_srv_conf)(ngx_conf_t *cf); cf 31 http/ngx_http_config.h char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev, void *conf); cf 33 http/ngx_http_config.h void *(*create_loc_conf)(ngx_conf_t *cf); cf 34 http/ngx_http_config.h char *(*merge_loc_conf)(ngx_conf_t *cf, void *prev, void *conf); cf 60 http/ngx_http_config.h #define ngx_http_conf_get_module_main_conf(cf, module) \ cf 61 http/ngx_http_config.h ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] cf 62 http/ngx_http_config.h #define ngx_http_conf_get_module_srv_conf(cf, module) \ cf 63 http/ngx_http_config.h ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index] cf 64 http/ngx_http_config.h #define ngx_http_conf_get_module_loc_conf(cf, module) \ cf 65 http/ngx_http_config.h ((ngx_http_conf_ctx_t *) cf->ctx)->loc_conf[module.ctx_index] cf 26 http/ngx_http_copy_filter_module.c static void *ngx_http_copy_filter_create_conf(ngx_conf_t *cf); cf 27 http/ngx_http_copy_filter_module.c static char *ngx_http_copy_filter_merge_conf(ngx_conf_t *cf, cf 29 http/ngx_http_copy_filter_module.c static ngx_int_t ngx_http_copy_filter_init(ngx_conf_t *cf); cf 259 http/ngx_http_copy_filter_module.c ngx_http_copy_filter_create_conf(ngx_conf_t *cf) cf 263 http/ngx_http_copy_filter_module.c conf = ngx_palloc(cf->pool, sizeof(ngx_http_copy_filter_conf_t)); cf 275 http/ngx_http_copy_filter_module.c ngx_http_copy_filter_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 287 http/ngx_http_copy_filter_module.c ngx_http_copy_filter_init(ngx_conf_t *cf) cf 27 http/ngx_http_core_module.c static ngx_int_t ngx_http_core_preconfiguration(ngx_conf_t *cf); cf 28 http/ngx_http_core_module.c static void *ngx_http_core_create_main_conf(ngx_conf_t *cf); cf 29 http/ngx_http_core_module.c static char *ngx_http_core_init_main_conf(ngx_conf_t *cf, void *conf); cf 30 http/ngx_http_core_module.c static void *ngx_http_core_create_srv_conf(ngx_conf_t *cf); cf 31 http/ngx_http_core_module.c static char *ngx_http_core_merge_srv_conf(ngx_conf_t *cf, cf 33 http/ngx_http_core_module.c static void *ngx_http_core_create_loc_conf(ngx_conf_t *cf); cf 34 http/ngx_http_core_module.c static char *ngx_http_core_merge_loc_conf(ngx_conf_t *cf, cf 37 http/ngx_http_core_module.c static char *ngx_http_core_server(ngx_conf_t *cf, ngx_command_t *cmd, cf 39 http/ngx_http_core_module.c static char *ngx_http_core_location(ngx_conf_t *cf, ngx_command_t *cmd, cf 41 http/ngx_http_core_module.c static ngx_int_t ngx_http_core_regex_location(ngx_conf_t *cf, cf 44 http/ngx_http_core_module.c static char *ngx_http_core_types(ngx_conf_t *cf, ngx_command_t *cmd, cf 46 http/ngx_http_core_module.c static char *ngx_http_core_type(ngx_conf_t *cf, ngx_command_t *dummy, cf 49 http/ngx_http_core_module.c static char *ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, cf 51 http/ngx_http_core_module.c static char *ngx_http_core_server_name(ngx_conf_t *cf, ngx_command_t *cmd, cf 53 http/ngx_http_core_module.c static char *ngx_http_core_root(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 54 http/ngx_http_core_module.c static char *ngx_http_core_limit_except(ngx_conf_t *cf, ngx_command_t *cmd, cf 56 http/ngx_http_core_module.c static char *ngx_http_core_directio(ngx_conf_t *cf, ngx_command_t *cmd, cf 58 http/ngx_http_core_module.c static char *ngx_http_core_error_page(ngx_conf_t *cf, ngx_command_t *cmd, cf 60 http/ngx_http_core_module.c static char *ngx_http_core_try_files(ngx_conf_t *cf, ngx_command_t *cmd, cf 62 http/ngx_http_core_module.c static char *ngx_http_core_open_file_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 64 http/ngx_http_core_module.c static char *ngx_http_core_error_log(ngx_conf_t *cf, ngx_command_t *cmd, cf 66 http/ngx_http_core_module.c static char *ngx_http_core_keepalive(ngx_conf_t *cf, ngx_command_t *cmd, cf 68 http/ngx_http_core_module.c static char *ngx_http_core_internal(ngx_conf_t *cf, ngx_command_t *cmd, cf 70 http/ngx_http_core_module.c static char *ngx_http_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, cf 73 http/ngx_http_core_module.c static char *ngx_http_gzip_disable(ngx_conf_t *cf, ngx_command_t *cmd, cf 77 http/ngx_http_core_module.c static char *ngx_http_core_lowat_check(ngx_conf_t *cf, void *post, void *data); cf 78 http/ngx_http_core_module.c static char *ngx_http_core_pool_size(ngx_conf_t *cf, void *post, void *data); cf 2438 http/ngx_http_core_module.c ngx_http_core_server(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy) cf 2451 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 2456 http/ngx_http_core_module.c http_ctx = cf->ctx; cf 2461 http/ngx_http_core_module.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 2468 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 2481 http/ngx_http_core_module.c mconf = module->create_srv_conf(cf); cf 2490 http/ngx_http_core_module.c mconf = module->create_loc_conf(cf); cf 2518 http/ngx_http_core_module.c pcf = *cf; cf 2519 http/ngx_http_core_module.c cf->ctx = ctx; cf 2520 http/ngx_http_core_module.c cf->cmd_type = NGX_HTTP_SRV_CONF; cf 2522 http/ngx_http_core_module.c rv = ngx_conf_parse(cf, NULL); cf 2524 http/ngx_http_core_module.c *cf = pcf; cf 2552 http/ngx_http_core_module.c if (ngx_http_add_listen(cf, cscf, &lsopt) != NGX_OK) { cf 2562 http/ngx_http_core_module.c ngx_http_core_location(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy) cf 2574 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 2579 http/ngx_http_core_module.c pctx = cf->ctx; cf 2583 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 2597 http/ngx_http_core_module.c module->create_loc_conf(cf); cf 2607 http/ngx_http_core_module.c value = cf->args->elts; cf 2609 http/ngx_http_core_module.c if (cf->args->nelts == 3) { cf 2627 http/ngx_http_core_module.c if (ngx_http_core_regex_location(cf, clcf, name, 0) != NGX_OK) { cf 2633 http/ngx_http_core_module.c if (ngx_http_core_regex_location(cf, clcf, name, 1) != NGX_OK) { cf 2638 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2669 http/ngx_http_core_module.c if (ngx_http_core_regex_location(cf, clcf, name, 1) != NGX_OK) { cf 2674 http/ngx_http_core_module.c if (ngx_http_core_regex_location(cf, clcf, name, 0) != NGX_OK) { cf 2700 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2708 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2716 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2732 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2739 http/ngx_http_core_module.c if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) { cf 2743 http/ngx_http_core_module.c save = *cf; cf 2744 http/ngx_http_core_module.c cf->ctx = ctx; cf 2745 http/ngx_http_core_module.c cf->cmd_type = NGX_HTTP_LOC_CONF; cf 2747 http/ngx_http_core_module.c rv = ngx_conf_parse(cf, NULL); cf 2749 http/ngx_http_core_module.c *cf = save; cf 2756 http/ngx_http_core_module.c ngx_http_core_regex_location(ngx_conf_t *cf, ngx_http_core_loc_conf_t *clcf, cf 2775 http/ngx_http_core_module.c clcf->regex = ngx_http_regex_compile(cf, &rc); cf 2786 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 2796 http/ngx_http_core_module.c ngx_http_core_types(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 2804 http/ngx_http_core_module.c clcf->types = ngx_array_create(cf->pool, 64, sizeof(ngx_hash_key_t)); cf 2810 http/ngx_http_core_module.c save = *cf; cf 2811 http/ngx_http_core_module.c cf->handler = ngx_http_core_type; cf 2812 http/ngx_http_core_module.c cf->handler_conf = conf; cf 2814 http/ngx_http_core_module.c rv = ngx_conf_parse(cf, NULL); cf 2816 http/ngx_http_core_module.c *cf = save; cf 2823 http/ngx_http_core_module.c ngx_http_core_type(ngx_conf_t *cf, ngx_command_t *dummy, void *conf) cf 2831 http/ngx_http_core_module.c value = cf->args->elts; cf 2836 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { cf 2840 http/ngx_http_core_module.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cf->log, 0, "include %s", file.data); cf 2842 http/ngx_http_core_module.c return ngx_conf_parse(cf, &file); cf 2845 http/ngx_http_core_module.c content_type = ngx_palloc(cf->pool, sizeof(ngx_str_t)); cf 2852 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 2862 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 2887 http/ngx_http_core_module.c ngx_http_core_preconfiguration(ngx_conf_t *cf) cf 2889 http/ngx_http_core_module.c return ngx_http_variables_add_core_vars(cf); cf 2894 http/ngx_http_core_module.c ngx_http_core_create_main_conf(ngx_conf_t *cf) cf 2898 http/ngx_http_core_module.c cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_main_conf_t)); cf 2903 http/ngx_http_core_module.c if (ngx_array_init(&cmcf->servers, cf->pool, 4, cf 2921 http/ngx_http_core_module.c ngx_http_core_init_main_conf(ngx_conf_t *cf, void *conf) cf 2957 http/ngx_http_core_module.c ngx_http_core_create_srv_conf(ngx_conf_t *cf) cf 2961 http/ngx_http_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_srv_conf_t)); cf 2972 http/ngx_http_core_module.c if (ngx_array_init(&cscf->server_names, cf->temp_pool, 4, cf 2992 http/ngx_http_core_module.c ngx_http_core_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 3015 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3055 http/ngx_http_core_module.c conf->server_name.data = ngx_pstrdup(cf->pool, &name); cf 3065 http/ngx_http_core_module.c ngx_http_core_create_loc_conf(ngx_conf_t *cf) cf 3069 http/ngx_http_core_module.c clcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_loc_conf_t)); cf 3171 http/ngx_http_core_module.c ngx_http_core_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) cf 3190 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &conf->root, 0) != NGX_OK) { cf 3222 http/ngx_http_core_module.c types_hash.pool = cf->pool; cf 3238 http/ngx_http_core_module.c conf->types = ngx_array_create(cf->pool, 4, sizeof(ngx_hash_key_t)); cf 3264 http/ngx_http_core_module.c types_hash.pool = cf->pool; cf 3278 http/ngx_http_core_module.c conf->error_log = &cf->cycle->new_log; cf 3352 http/ngx_http_core_module.c prev->resolver = ngx_resolver_create(cf, NULL); cf 3361 http/ngx_http_core_module.c if (ngx_conf_merge_path_value(cf, &conf->client_body_temp_path, cf 3431 http/ngx_http_core_module.c ngx_http_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 3442 http/ngx_http_core_module.c value = cf->args->elts; cf 3450 http/ngx_http_core_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { cf 3452 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3476 http/ngx_http_core_module.c for (n = 2; n < cf->args->nelts; n++) { cf 3496 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3510 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3527 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3544 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3558 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3572 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3594 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3604 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3611 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3623 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3630 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3635 http/ngx_http_core_module.c if (ngx_http_add_listen(cf, cscf, &lsopt) == NGX_OK) { cf 3644 http/ngx_http_core_module.c ngx_http_core_server_name(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 3653 http/ngx_http_core_module.c value = cf->args->elts; cf 3655 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 3662 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3668 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 3674 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3691 http/ngx_http_core_module.c sn->name = cf->cycle->hostname; cf 3709 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3730 http/ngx_http_core_module.c sn->regex = ngx_http_regex_compile(cf, &rc); cf 3739 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3752 http/ngx_http_core_module.c ngx_http_core_root(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 3766 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3770 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3780 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3787 http/ngx_http_core_module.c value = cf->args->elts; cf 3792 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3803 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3819 http/ngx_http_core_module.c if (ngx_conf_full_name(cf->cycle, &clcf->root, 0) != NGX_OK) { cf 3836 http/ngx_http_core_module.c sc.cf = cf; cf 3872 http/ngx_http_core_module.c ngx_http_core_limit_except(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 3892 http/ngx_http_core_module.c value = cf->args->elts; cf 3894 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 3903 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 3915 http/ngx_http_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 3920 http/ngx_http_core_module.c pctx = cf->ctx; cf 3924 http/ngx_http_core_module.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 3938 http/ngx_http_core_module.c mconf = module->create_loc_conf(cf); cf 3955 http/ngx_http_core_module.c if (ngx_http_add_location(cf, &pclcf->locations, clcf) != NGX_OK) { cf 3959 http/ngx_http_core_module.c save = *cf; cf 3960 http/ngx_http_core_module.c cf->ctx = ctx; cf 3961 http/ngx_http_core_module.c cf->cmd_type = NGX_HTTP_LMT_CONF; cf 3963 http/ngx_http_core_module.c rv = ngx_conf_parse(cf, NULL); cf 3965 http/ngx_http_core_module.c *cf = save; cf 3972 http/ngx_http_core_module.c ngx_http_core_directio(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 3982 http/ngx_http_core_module.c value = cf->args->elts; cf 3999 http/ngx_http_core_module.c ngx_http_core_error_page(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4012 http/ngx_http_core_module.c clcf->error_pages = ngx_array_create(cf->pool, 4, cf 4019 http/ngx_http_core_module.c value = cf->args->elts; cf 4021 http/ngx_http_core_module.c i = cf->args->nelts - 2; cf 4025 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4034 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4050 http/ngx_http_core_module.c uri = value[cf->args->nelts - 1]; cf 4054 http/ngx_http_core_module.c ccv.cf = cf; cf 4076 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts - n; i++) { cf 4085 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4091 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4119 http/ngx_http_core_module.c ngx_http_core_try_files(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4134 http/ngx_http_core_module.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 4138 http/ngx_http_core_module.c tf = ngx_pcalloc(cf->pool, cf->args->nelts * sizeof(ngx_http_try_file_t)); cf 4145 http/ngx_http_core_module.c value = cf->args->elts; cf 4147 http/ngx_http_core_module.c for (i = 0; i < cf->args->nelts - 1; i++) { cf 4162 http/ngx_http_core_module.c sc.cf = cf; cf 4185 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4199 http/ngx_http_core_module.c ngx_http_core_open_file_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4212 http/ngx_http_core_module.c value = cf->args->elts; cf 4217 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 4251 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4262 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4267 http/ngx_http_core_module.c clcf->open_file_cache = ngx_open_file_cache_init(cf->pool, max, inactive); cf 4277 http/ngx_http_core_module.c ngx_http_core_error_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4287 http/ngx_http_core_module.c value = cf->args->elts; cf 4289 http/ngx_http_core_module.c clcf->error_log = ngx_log_create(cf->cycle, &value[1]); cf 4294 http/ngx_http_core_module.c if (cf->args->nelts == 2) { cf 4299 http/ngx_http_core_module.c return ngx_log_set_levels(cf, clcf->error_log); cf 4304 http/ngx_http_core_module.c ngx_http_core_keepalive(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4314 http/ngx_http_core_module.c value = cf->args->elts; cf 4326 http/ngx_http_core_module.c if (cf->args->nelts == 2) { cf 4345 http/ngx_http_core_module.c ngx_http_core_internal(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4360 http/ngx_http_core_module.c ngx_http_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4371 http/ngx_http_core_module.c value = cf->args->elts; cf 4378 http/ngx_http_core_module.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { cf 4379 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V: %s", &u.host, u.err); cf 4383 http/ngx_http_core_module.c clcf->resolver = ngx_resolver_create(cf, &u.addrs[0]); cf 4395 http/ngx_http_core_module.c ngx_http_gzip_disable(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4408 http/ngx_http_core_module.c clcf->gzip_disable = ngx_array_create(cf->pool, 2, cf 4415 http/ngx_http_core_module.c value = cf->args->elts; cf 4419 http/ngx_http_core_module.c rc.pool = cf->pool; cf 4423 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 4448 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); cf 4462 http/ngx_http_core_module.c value = cf->args->elts; cf 4464 http/ngx_http_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 4479 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4495 http/ngx_http_core_module.c ngx_http_core_lowat_check(ngx_conf_t *cf, void *post, void *data) cf 4501 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4512 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 4524 http/ngx_http_core_module.c ngx_http_core_pool_size(ngx_conf_t *cf, void *post, void *data) cf 4529 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4536 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1510 http/ngx_http_file_cache.c ngx_http_file_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1520 http/ngx_http_file_cache.c cache = ngx_pcalloc(cf->pool, sizeof(ngx_http_file_cache_t)); cf 1525 http/ngx_http_file_cache.c cache->path = ngx_pcalloc(cf->pool, sizeof(ngx_path_t)); cf 1536 http/ngx_http_file_cache.c value = cf->args->elts; cf 1544 http/ngx_http_file_cache.c if (ngx_conf_full_name(cf->cycle, &cache->path->name, 0) != NGX_OK) { cf 1548 http/ngx_http_file_cache.c for (i = 2; i < cf->args->nelts; i++) { cf 1582 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1609 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1621 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1636 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1644 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1650 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1660 http/ngx_http_file_cache.c if (ngx_add_path(cf, &cache->path) != NGX_OK) { cf 1664 http/ngx_http_file_cache.c cache->shm_zone = ngx_shared_memory_add(cf, &name, size, cmd->post); cf 1670 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1687 http/ngx_http_file_cache.c ngx_http_file_cache_valid_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 1702 http/ngx_http_file_cache.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_cache_valid_t)); cf 1708 http/ngx_http_file_cache.c value = cf->args->elts; cf 1709 http/ngx_http_file_cache.c n = cf->args->nelts - 1; cf 1713 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1743 http/ngx_http_file_cache.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1786 http/ngx_http_file_cache.c ngx_http_no_cache_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1799 http/ngx_http_file_cache.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_complex_value_t)); cf 1805 http/ngx_http_file_cache.c value = cf->args->elts; cf 1807 http/ngx_http_file_cache.c for (i = 1; i < cf->args->nelts; i++) { cf 1815 http/ngx_http_file_cache.c ccv.cf = cf; cf 13 http/ngx_http_header_filter_module.c static ngx_int_t ngx_http_header_filter_init(ngx_conf_t *cf); cf 621 http/ngx_http_header_filter_module.c ngx_http_header_filter_init(ngx_conf_t *cf) cf 14 http/ngx_http_postpone_filter_module.c static ngx_int_t ngx_http_postpone_filter_init(ngx_conf_t *cf); cf 171 http/ngx_http_postpone_filter_module.c ngx_http_postpone_filter_init(ngx_conf_t *cf) cf 117 http/ngx_http_script.c ngx_conf_log_error(NGX_LOG_EMERG, ccv->cf, 0, "empty parameter"); cf 137 http/ngx_http_script.c if (ngx_conf_full_name(ccv->cf->cycle, v, ccv->conf_prefix) != NGX_OK) { cf 156 http/ngx_http_script.c if (ngx_array_init(&flushes, ccv->cf->pool, n, sizeof(ngx_uint_t)) cf 166 http/ngx_http_script.c if (ngx_array_init(&lengths, ccv->cf->pool, n, 1) != NGX_OK) { cf 177 http/ngx_http_script.c if (ngx_array_init(&values, ccv->cf->pool, n, 1) != NGX_OK) { cf 187 http/ngx_http_script.c sc.cf = ccv->cf; cf 215 http/ngx_http_script.c ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 229 http/ngx_http_script.c *cv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); cf 234 http/ngx_http_script.c value = cf->args->elts; cf 238 http/ngx_http_script.c ccv.cf = cf; cf 278 http/ngx_http_script.c ngx_http_set_predicate_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 291 http/ngx_http_script.c *a = ngx_array_create(cf->pool, 1, sizeof(ngx_http_complex_value_t)); cf 297 http/ngx_http_script.c value = cf->args->elts; cf 299 http/ngx_http_script.c for (i = 1; i < cf->args->nelts; i++) { cf 307 http/ngx_http_script.c ccv.cf = cf; cf 416 http/ngx_http_script.c ngx_conf_log_error(NGX_LOG_EMERG, sc->cf, 0, cf 482 http/ngx_http_script.c ngx_conf_log_error(NGX_LOG_EMERG, sc->cf, 0, "invalid variable name"); cf 562 http/ngx_http_script.c *sc->flushes = ngx_array_create(sc->cf->pool, n, sizeof(ngx_uint_t)); cf 573 http/ngx_http_script.c *sc->lengths = ngx_array_create(sc->cf->pool, n, 1); cf 587 http/ngx_http_script.c *sc->values = ngx_array_create(sc->cf->pool, n, 1); cf 767 http/ngx_http_script.c index = ngx_http_get_variable_index(sc->cf, name); cf 39 http/ngx_http_script.h ngx_conf_t *cf; cf 74 http/ngx_http_script.h ngx_conf_t *cf; cf 210 http/ngx_http_script.h char *ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 216 http/ngx_http_script.h char *ngx_http_set_predicate_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 115 http/ngx_http_upstream.c static ngx_int_t ngx_http_upstream_add_variables(ngx_conf_t *cf); cf 125 http/ngx_http_upstream.c static char *ngx_http_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy); cf 126 http/ngx_http_upstream.c static char *ngx_http_upstream_server(ngx_conf_t *cf, ngx_command_t *cmd, cf 129 http/ngx_http_upstream.c static void *ngx_http_upstream_create_main_conf(ngx_conf_t *cf); cf 130 http/ngx_http_upstream.c static char *ngx_http_upstream_init_main_conf(ngx_conf_t *cf, void *conf); cf 3618 http/ngx_http_upstream.c ngx_http_upstream_add_variables(ngx_conf_t *cf) cf 3623 http/ngx_http_upstream.c var = ngx_http_add_variable(cf, &v->name, v->flags); cf 3944 http/ngx_http_upstream.c ngx_http_upstream(ngx_conf_t *cf, ngx_command_t *cmd, void *dummy) cf 3958 http/ngx_http_upstream.c value = cf->args->elts; cf 3962 http/ngx_http_upstream.c uscf = ngx_http_upstream_add(cf, &u, NGX_HTTP_UPSTREAM_CREATE cf 3973 http/ngx_http_upstream.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_http_conf_ctx_t)); cf 3978 http/ngx_http_upstream.c http_ctx = cf->ctx; cf 3983 http/ngx_http_upstream.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 3995 http/ngx_http_upstream.c ctx->loc_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); cf 4008 http/ngx_http_upstream.c mconf = module->create_srv_conf(cf); cf 4017 http/ngx_http_upstream.c mconf = module->create_loc_conf(cf); cf 4029 http/ngx_http_upstream.c pcf = *cf; cf 4030 http/ngx_http_upstream.c cf->ctx = ctx; cf 4031 http/ngx_http_upstream.c cf->cmd_type = NGX_HTTP_UPS_CONF; cf 4033 http/ngx_http_upstream.c rv = ngx_conf_parse(cf, NULL); cf 4035 http/ngx_http_upstream.c *cf = pcf; cf 4042 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4052 http/ngx_http_upstream.c ngx_http_upstream_server(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 4064 http/ngx_http_upstream.c uscf->servers = ngx_array_create(cf->pool, 4, cf 4078 http/ngx_http_upstream.c value = cf->args->elts; cf 4085 http/ngx_http_upstream.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { cf 4087 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4098 http/ngx_http_upstream.c for (i = 2; i < cf->args->nelts; i++) { cf 4183 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4191 http/ngx_http_upstream.c ngx_http_upstream_add(ngx_conf_t *cf, ngx_url_t *u, ngx_uint_t flags) cf 4200 http/ngx_http_upstream.c if (ngx_parse_url(cf->pool, u) != NGX_OK) { cf 4202 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4210 http/ngx_http_upstream.c umcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_upstream_module); cf 4226 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4232 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 4239 http/ngx_http_upstream.c ngx_log_error(NGX_LOG_WARN, cf->log, 0, cf 4259 http/ngx_http_upstream.c uscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_srv_conf_t)); cf 4266 http/ngx_http_upstream.c uscf->file_name = cf->conf_file->file.name.data; cf 4267 http/ngx_http_upstream.c uscf->line = cf->conf_file->line; cf 4272 http/ngx_http_upstream.c uscf->servers = ngx_array_create(cf->pool, 1, cf 4301 http/ngx_http_upstream.c ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 4312 http/ngx_http_upstream.c *paddr = ngx_palloc(cf->pool, sizeof(ngx_addr_t)); cf 4317 http/ngx_http_upstream.c value = cf->args->elts; cf 4319 http/ngx_http_upstream.c rc = ngx_parse_addr(cf->pool, *paddr, value[1].data, value[1].len); cf 4327 http/ngx_http_upstream.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 4336 http/ngx_http_upstream.c ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, cf 4372 http/ngx_http_upstream.c if (ngx_array_init(&hide_headers, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) cf 4440 http/ngx_http_upstream.c hash->pool = cf->pool; cf 4448 http/ngx_http_upstream.c ngx_http_upstream_create_main_conf(ngx_conf_t *cf) cf 4452 http/ngx_http_upstream.c umcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_main_conf_t)); cf 4457 http/ngx_http_upstream.c if (ngx_array_init(&umcf->upstreams, cf->pool, 4, cf 4469 http/ngx_http_upstream.c ngx_http_upstream_init_main_conf(ngx_conf_t *cf, void *conf) cf 4488 http/ngx_http_upstream.c if (init(cf, uscfp[i]) != NGX_OK) { cf 4496 http/ngx_http_upstream.c if (ngx_array_init(&headers_in, cf->temp_pool, 32, sizeof(ngx_hash_key_t)) cf 4518 http/ngx_http_upstream.c hash.pool = cf->pool; cf 70 http/ngx_http_upstream.h typedef ngx_int_t (*ngx_http_upstream_init_pt)(ngx_conf_t *cf, cf 327 http/ngx_http_upstream.h ngx_http_upstream_srv_conf_t *ngx_http_upstream_add(ngx_conf_t *cf, cf 329 http/ngx_http_upstream.h char *ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, cf 331 http/ngx_http_upstream.h ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, cf 19 http/ngx_http_upstream_round_robin.c ngx_http_upstream_init_round_robin(ngx_conf_t *cf, cf 42 http/ngx_http_upstream_round_robin.c peers = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) cf 94 http/ngx_http_upstream_round_robin.c backup = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) cf 138 http/ngx_http_upstream_round_robin.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 149 http/ngx_http_upstream_round_robin.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { cf 151 http/ngx_http_upstream_round_robin.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 161 http/ngx_http_upstream_round_robin.c peers = ngx_pcalloc(cf->pool, sizeof(ngx_http_upstream_rr_peers_t) cf 64 http/ngx_http_upstream_round_robin.h ngx_int_t ngx_http_upstream_init_round_robin(ngx_conf_t *cf, cf 268 http/ngx_http_variables.c ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name, ngx_uint_t flags) cf 276 http/ngx_http_variables.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 289 http/ngx_http_variables.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 297 http/ngx_http_variables.c v = ngx_palloc(cf->pool, sizeof(ngx_http_variable_t)); cf 303 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); cf 323 http/ngx_http_variables.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 333 http/ngx_http_variables.c ngx_http_get_variable_index(ngx_conf_t *cf, ngx_str_t *name) cf 339 http/ngx_http_variables.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 344 http/ngx_http_variables.c if (ngx_array_init(&cmcf->variables, cf->pool, 4, cf 369 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); cf 1719 http/ngx_http_variables.c ngx_http_regex_compile(ngx_conf_t *cf, ngx_regex_compile_t *rc) cf 1730 http/ngx_http_variables.c rc->pool = cf->pool; cf 1733 http/ngx_http_variables.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc->err); cf 1737 http/ngx_http_variables.c re = ngx_pcalloc(cf->pool, sizeof(ngx_http_regex_t)); cf 1745 http/ngx_http_variables.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 1772 http/ngx_http_variables.c v = ngx_http_add_variable(cf, &name, NGX_HTTP_VAR_CHANGEABLE); cf 1777 http/ngx_http_variables.c rv[i].index = ngx_http_get_variable_index(cf, &name); cf 1863 http/ngx_http_variables.c ngx_http_variables_add_core_vars(ngx_conf_t *cf) cf 1869 http/ngx_http_variables.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 1871 http/ngx_http_variables.c cmcf->variables_keys = ngx_pcalloc(cf->temp_pool, cf 1877 http/ngx_http_variables.c cmcf->variables_keys->pool = cf->pool; cf 1878 http/ngx_http_variables.c cmcf->variables_keys->temp_pool = cf->pool; cf 1895 http/ngx_http_variables.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1907 http/ngx_http_variables.c ngx_http_variables_init_vars(ngx_conf_t *cf) cf 1917 http/ngx_http_variables.c cmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module); cf 1982 http/ngx_http_variables.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 2006 http/ngx_http_variables.c hash.pool = cf->pool; cf 44 http/ngx_http_variables.h ngx_http_variable_t *ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name, cf 46 http/ngx_http_variables.h ngx_int_t ngx_http_get_variable_index(ngx_conf_t *cf, ngx_str_t *name); cf 85 http/ngx_http_variables.h ngx_http_regex_t *ngx_http_regex_compile(ngx_conf_t *cf, cf 106 http/ngx_http_variables.h ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf); cf 107 http/ngx_http_variables.h ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf); cf 12 http/ngx_http_write_filter_module.c static ngx_int_t ngx_http_write_filter_init(ngx_conf_t *cf); cf 305 http/ngx_http_write_filter_module.c ngx_http_write_filter_init(ngx_conf_t *cf) cf 13 mail/ngx_mail.c static char *ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 14 mail/ngx_mail.c static ngx_int_t ngx_mail_add_ports(ngx_conf_t *cf, ngx_array_t *ports, cf 16 mail/ngx_mail.c static char *ngx_mail_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports); cf 17 mail/ngx_mail.c static ngx_int_t ngx_mail_add_addrs(ngx_conf_t *cf, ngx_mail_port_t *mport, cf 20 mail/ngx_mail.c static ngx_int_t ngx_mail_add_addrs6(ngx_conf_t *cf, ngx_mail_port_t *mport, cf 73 mail/ngx_mail.c ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 86 mail/ngx_mail.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 93 mail/ngx_mail.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t)); cf 114 mail/ngx_mail.c ctx->main_conf = ngx_pcalloc(cf->pool, cf 126 mail/ngx_mail.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); cf 146 mail/ngx_mail.c ctx->main_conf[mi] = module->create_main_conf(cf); cf 153 mail/ngx_mail.c ctx->srv_conf[mi] = module->create_srv_conf(cf); cf 163 mail/ngx_mail.c pcf = *cf; cf 164 mail/ngx_mail.c cf->ctx = ctx; cf 166 mail/ngx_mail.c cf->module_type = NGX_MAIL_MODULE; cf 167 mail/ngx_mail.c cf->cmd_type = NGX_MAIL_MAIN_CONF; cf 168 mail/ngx_mail.c rv = ngx_conf_parse(cf, NULL); cf 171 mail/ngx_mail.c *cf = pcf; cf 191 mail/ngx_mail.c cf->ctx = ctx; cf 194 mail/ngx_mail.c rv = module->init_main_conf(cf, ctx->main_conf[mi]); cf 196 mail/ngx_mail.c *cf = pcf; cf 205 mail/ngx_mail.c cf->ctx = cscfp[s]->ctx; cf 208 mail/ngx_mail.c rv = module->merge_srv_conf(cf, cf 212 mail/ngx_mail.c *cf = pcf; cf 219 mail/ngx_mail.c *cf = pcf; cf 222 mail/ngx_mail.c if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_mail_conf_port_t)) cf 231 mail/ngx_mail.c if (ngx_mail_add_ports(cf, &ports, &listen[i]) != NGX_OK) { cf 236 mail/ngx_mail.c return ngx_mail_optimize_servers(cf, &ports); cf 241 mail/ngx_mail.c ngx_mail_add_ports(ngx_conf_t *cf, ngx_array_t *ports, cf 292 mail/ngx_mail.c if (ngx_array_init(&port->addrs, cf->temp_pool, 2, cf 323 mail/ngx_mail.c ngx_mail_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports) cf 362 mail/ngx_mail.c ls = ngx_create_listening(cf, addr[i].sockaddr, addr[i].socklen); cf 372 mail/ngx_mail.c ls->logp = &cf->cycle->new_log; cf 380 mail/ngx_mail.c mport = ngx_palloc(cf->pool, sizeof(ngx_mail_port_t)); cf 398 mail/ngx_mail.c if (ngx_mail_add_addrs6(cf, mport, addr) != NGX_OK) { cf 404 mail/ngx_mail.c if (ngx_mail_add_addrs(cf, mport, addr) != NGX_OK) { cf 420 mail/ngx_mail.c ngx_mail_add_addrs(ngx_conf_t *cf, ngx_mail_port_t *mport, cf 430 mail/ngx_mail.c mport->addrs = ngx_pcalloc(cf->pool, cf 450 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); cf 468 mail/ngx_mail.c ngx_mail_add_addrs6(ngx_conf_t *cf, ngx_mail_port_t *mport, cf 478 mail/ngx_mail.c mport->addrs = ngx_pcalloc(cf->pool, cf 498 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); cf 330 mail/ngx_mail.h void *(*create_main_conf)(ngx_conf_t *cf); cf 331 mail/ngx_mail.h char *(*init_main_conf)(ngx_conf_t *cf, void *conf); cf 333 mail/ngx_mail.h void *(*create_srv_conf)(ngx_conf_t *cf); cf 334 mail/ngx_mail.h char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev, cf 358 mail/ngx_mail.h #define ngx_mail_conf_get_module_main_conf(cf, module) \ cf 359 mail/ngx_mail.h ((ngx_mail_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] cf 360 mail/ngx_mail.h #define ngx_mail_conf_get_module_srv_conf(cf, module) \ cf 361 mail/ngx_mail.h ((ngx_mail_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index] cf 393 mail/ngx_mail.h char *ngx_mail_capabilities(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 77 mail/ngx_mail_auth_http_module.c static void *ngx_mail_auth_http_create_conf(ngx_conf_t *cf); cf 78 mail/ngx_mail_auth_http_module.c static char *ngx_mail_auth_http_merge_conf(ngx_conf_t *cf, void *parent, cf 80 mail/ngx_mail_auth_http_module.c static char *ngx_mail_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); cf 81 mail/ngx_mail_auth_http_module.c static char *ngx_mail_auth_http_header(ngx_conf_t *cf, ngx_command_t *cmd, cf 1298 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_create_conf(ngx_conf_t *cf) cf 1302 mail/ngx_mail_auth_http_module.c ahcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_auth_http_conf_t)); cf 1309 mail/ngx_mail_auth_http_module.c ahcf->file = cf->conf_file->file.name.data; cf 1310 mail/ngx_mail_auth_http_module.c ahcf->line = cf->conf_file->line; cf 1317 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 1333 mail/ngx_mail_auth_http_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 1355 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(cf->pool, len); cf 1376 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1383 mail/ngx_mail_auth_http_module.c value = cf->args->elts; cf 1397 mail/ngx_mail_auth_http_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { cf 1399 mail/ngx_mail_auth_http_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 1426 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_header(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 1434 mail/ngx_mail_auth_http_module.c ahcf->headers = ngx_array_create(cf->pool, 1, sizeof(ngx_table_elt_t)); cf 1445 mail/ngx_mail_auth_http_module.c value = cf->args->elts; cf 13 mail/ngx_mail_core_module.c static void *ngx_mail_core_create_main_conf(ngx_conf_t *cf); cf 14 mail/ngx_mail_core_module.c static void *ngx_mail_core_create_srv_conf(ngx_conf_t *cf); cf 15 mail/ngx_mail_core_module.c static char *ngx_mail_core_merge_srv_conf(ngx_conf_t *cf, void *parent, cf 17 mail/ngx_mail_core_module.c static char *ngx_mail_core_server(ngx_conf_t *cf, ngx_command_t *cmd, cf 19 mail/ngx_mail_core_module.c static char *ngx_mail_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, cf 21 mail/ngx_mail_core_module.c static char *ngx_mail_core_protocol(ngx_conf_t *cf, ngx_command_t *cmd, cf 23 mail/ngx_mail_core_module.c static char *ngx_mail_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, cf 117 mail/ngx_mail_core_module.c ngx_mail_core_create_main_conf(ngx_conf_t *cf) cf 121 mail/ngx_mail_core_module.c cmcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_main_conf_t)); cf 126 mail/ngx_mail_core_module.c if (ngx_array_init(&cmcf->servers, cf->pool, 4, cf 133 mail/ngx_mail_core_module.c if (ngx_array_init(&cmcf->listen, cf->pool, 4, sizeof(ngx_mail_listen_t)) cf 144 mail/ngx_mail_core_module.c ngx_mail_core_create_srv_conf(ngx_conf_t *cf) cf 148 mail/ngx_mail_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_srv_conf_t)); cf 165 mail/ngx_mail_core_module.c cscf->file_name = cf->conf_file->file.name.data; cf 166 mail/ngx_mail_core_module.c cscf->line = cf->conf_file->line; cf 173 mail/ngx_mail_core_module.c ngx_mail_core_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 188 mail/ngx_mail_core_module.c conf->server_name = cf->cycle->hostname; cf 192 mail/ngx_mail_core_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 205 mail/ngx_mail_core_module.c ngx_mail_core_server(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 216 mail/ngx_mail_core_module.c ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t)); cf 221 mail/ngx_mail_core_module.c mail_ctx = cf->ctx; cf 226 mail/ngx_mail_core_module.c ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); cf 239 mail/ngx_mail_core_module.c mconf = module->create_srv_conf(cf); cf 265 mail/ngx_mail_core_module.c pcf = *cf; cf 266 mail/ngx_mail_core_module.c cf->ctx = ctx; cf 267 mail/ngx_mail_core_module.c cf->cmd_type = NGX_MAIL_SRV_CONF; cf 269 mail/ngx_mail_core_module.c rv = ngx_conf_parse(cf, NULL); cf 271 mail/ngx_mail_core_module.c *cf = pcf; cf 278 mail/ngx_mail_core_module.c ngx_mail_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 296 mail/ngx_mail_core_module.c value = cf->args->elts; cf 303 mail/ngx_mail_core_module.c if (ngx_parse_url(cf->pool, &u) != NGX_OK) { cf 305 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 313 mail/ngx_mail_core_module.c cmcf = ngx_mail_conf_get_module_main_conf(cf, ngx_mail_core_module); cf 352 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 368 mail/ngx_mail_core_module.c ls->ctx = cf->ctx; cf 389 mail/ngx_mail_core_module.c for (i = 2; i < cf->args->nelts; i++) { cf 412 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 423 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 430 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 442 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 449 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 459 mail/ngx_mail_core_module.c ngx_mail_core_protocol(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 467 mail/ngx_mail_core_module.c value = cf->args->elts; cf 485 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 492 mail/ngx_mail_core_module.c ngx_mail_core_resolver(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 499 mail/ngx_mail_core_module.c value = cf->args->elts; cf 515 mail/ngx_mail_core_module.c if (ngx_inet_resolve_host(cf->pool, &u) != NGX_OK) { cf 516 mail/ngx_mail_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V: %s", &u.host, u.err); cf 520 mail/ngx_mail_core_module.c cscf->resolver = ngx_resolver_create(cf, &u.addrs[0]); cf 530 mail/ngx_mail_core_module.c ngx_mail_capabilities(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 540 mail/ngx_mail_core_module.c value = cf->args->elts; cf 542 mail/ngx_mail_core_module.c for (i = 1; i < cf->args->nelts; i++) { cf 14 mail/ngx_mail_imap_module.c static void *ngx_mail_imap_create_srv_conf(ngx_conf_t *cf); cf 15 mail/ngx_mail_imap_module.c static char *ngx_mail_imap_merge_srv_conf(ngx_conf_t *cf, void *parent, cf 113 mail/ngx_mail_imap_module.c ngx_mail_imap_create_srv_conf(ngx_conf_t *cf) cf 117 mail/ngx_mail_imap_module.c iscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_imap_srv_conf_t)); cf 124 mail/ngx_mail_imap_module.c if (ngx_array_init(&iscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) cf 135 mail/ngx_mail_imap_module.c ngx_mail_imap_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 187 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); cf 220 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); cf 237 mail/ngx_mail_imap_module.c p = ngx_pnalloc(cf->pool, size); cf 14 mail/ngx_mail_pop3_module.c static void *ngx_mail_pop3_create_srv_conf(ngx_conf_t *cf); cf 15 mail/ngx_mail_pop3_module.c static char *ngx_mail_pop3_merge_srv_conf(ngx_conf_t *cf, void *parent, cf 112 mail/ngx_mail_pop3_module.c ngx_mail_pop3_create_srv_conf(ngx_conf_t *cf) cf 116 mail/ngx_mail_pop3_module.c pscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_pop3_srv_conf_t)); cf 121 mail/ngx_mail_pop3_module.c if (ngx_array_init(&pscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) cf 132 mail/ngx_mail_pop3_module.c ngx_mail_pop3_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 186 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, size); cf 216 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, size); cf 239 mail/ngx_mail_pop3_module.c p = ngx_pnalloc(cf->pool, stls_only_size); cf 34 mail/ngx_mail_proxy_module.c static void *ngx_mail_proxy_create_conf(ngx_conf_t *cf); cf 35 mail/ngx_mail_proxy_module.c static char *ngx_mail_proxy_merge_conf(ngx_conf_t *cf, void *parent, cf 1055 mail/ngx_mail_proxy_module.c ngx_mail_proxy_create_conf(ngx_conf_t *cf) cf 1059 mail/ngx_mail_proxy_module.c pcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_proxy_conf_t)); cf 1075 mail/ngx_mail_proxy_module.c ngx_mail_proxy_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 14 mail/ngx_mail_smtp_module.c static void *ngx_mail_smtp_create_srv_conf(ngx_conf_t *cf); cf 15 mail/ngx_mail_smtp_module.c static char *ngx_mail_smtp_merge_srv_conf(ngx_conf_t *cf, void *parent, cf 113 mail/ngx_mail_smtp_module.c ngx_mail_smtp_create_srv_conf(ngx_conf_t *cf) cf 117 mail/ngx_mail_smtp_module.c sscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_smtp_srv_conf_t)); cf 125 mail/ngx_mail_smtp_module.c if (ngx_array_init(&sscf->capabilities, cf->pool, 4, sizeof(ngx_str_t)) cf 136 mail/ngx_mail_smtp_module.c ngx_mail_smtp_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) cf 161 mail/ngx_mail_smtp_module.c cscf = ngx_mail_conf_get_module_srv_conf(cf, ngx_mail_core_module); cf 165 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); cf 180 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); cf 220 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); cf 268 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); cf 288 mail/ngx_mail_smtp_module.c p = ngx_pnalloc(cf->pool, size); cf 15 mail/ngx_mail_ssl_module.c static void *ngx_mail_ssl_create_conf(ngx_conf_t *cf); cf 16 mail/ngx_mail_ssl_module.c static char *ngx_mail_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child); cf 18 mail/ngx_mail_ssl_module.c static char *ngx_mail_ssl_enable(ngx_conf_t *cf, ngx_command_t *cmd, cf 20 mail/ngx_mail_ssl_module.c static char *ngx_mail_ssl_starttls(ngx_conf_t *cf, ngx_command_t *cmd, cf 22 mail/ngx_mail_ssl_module.c static char *ngx_mail_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, cf 150 mail/ngx_mail_ssl_module.c ngx_mail_ssl_create_conf(ngx_conf_t *cf) cf 154 mail/ngx_mail_ssl_module.c scf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_ssl_conf_t)); cf 181 mail/ngx_mail_ssl_module.c ngx_mail_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child) cf 210 mail/ngx_mail_ssl_module.c conf->ssl.log = cf->log; cf 225 mail/ngx_mail_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 233 mail/ngx_mail_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 247 mail/ngx_mail_ssl_module.c ngx_log_error(NGX_LOG_EMERG, cf->log, 0, cf 259 mail/ngx_mail_ssl_module.c cln = ngx_pool_cleanup_add(cf->pool, 0); cf 267 mail/ngx_mail_ssl_module.c if (ngx_ssl_certificate(cf, &conf->ssl, &conf->certificate, cf 279 mail/ngx_mail_ssl_module.c ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, cf 293 mail/ngx_mail_ssl_module.c if (ngx_ssl_dhparam(cf, &conf->ssl, &conf->dhparam) != NGX_OK) { cf 317 mail/ngx_mail_ssl_module.c ngx_mail_ssl_enable(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 323 mail/ngx_mail_ssl_module.c rv = ngx_conf_set_flag_slot(cf, cmd, conf); cf 330 mail/ngx_mail_ssl_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 335 mail/ngx_mail_ssl_module.c scf->file = cf->conf_file->file.name.data; cf 336 mail/ngx_mail_ssl_module.c scf->line = cf->conf_file->line; cf 343 mail/ngx_mail_ssl_module.c ngx_mail_ssl_starttls(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 349 mail/ngx_mail_ssl_module.c rv = ngx_conf_set_enum_slot(cf, cmd, conf); cf 356 mail/ngx_mail_ssl_module.c ngx_conf_log_error(NGX_LOG_WARN, cf, 0, cf 361 mail/ngx_mail_ssl_module.c scf->file = cf->conf_file->file.name.data; cf 362 mail/ngx_mail_ssl_module.c scf->line = cf->conf_file->line; cf 369 mail/ngx_mail_ssl_module.c ngx_mail_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cf 378 mail/ngx_mail_ssl_module.c value = cf->args->elts; cf 380 mail/ngx_mail_ssl_module.c for (i = 1; i < cf->args->nelts; i++) { cf 444 mail/ngx_mail_ssl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, cf 451 mail/ngx_mail_ssl_module.c scf->shm_zone = ngx_shared_memory_add(cf, &name, n, cf 471 mail/ngx_mail_ssl_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,