Lines Matching refs:CONST_STR_LEN
278 array_insert_value(srv->srvconf.modules, CONST_STR_LEN("mod_openssl")); in config_warn_openssl_module()
384 buffer_copy_string_len(tb, CONST_STR_LEN("mod_authn_")); in config_warn_authn_module()
410 if (buffer_eq_slen(m, CONST_STR_LEN("mod_indexfile"))) in config_compat_module_load()
412 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_staticfile"))) in config_compat_module_load()
414 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_dirlisting"))) in config_compat_module_load()
416 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_gnutls"))) in config_compat_module_load()
418 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_mbedtls"))) in config_compat_module_load()
420 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_nss"))) in config_compat_module_load()
422 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_openssl"))) in config_compat_module_load()
424 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_wolfssl"))) in config_compat_module_load()
427 if (buffer_eq_slen(m, CONST_STR_LEN("mod_auth"))) { in config_compat_module_load()
439 if (buffer_eq_slen(m, CONST_STR_LEN("mod_authn_file"))) in config_compat_module_load()
441 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_authn_ldap"))) in config_compat_module_load()
445 if (buffer_eq_slen(m, CONST_STR_LEN("mod_vhostdb"))) in config_compat_module_load()
473 if (!config_has_opt_enabled(srv, CONST_STR_LEN("index-file.names")) in config_compat_module_load()
474 && !config_has_opt_enabled(srv, CONST_STR_LEN("server.indexfiles"))) { in config_compat_module_load()
476 config_compat_module_remove(srv, CONST_STR_LEN("mod_indexfile")); in config_compat_module_load()
480 if (!config_has_opt_enabled(srv, CONST_STR_LEN("dir-listing.activate")) in config_compat_module_load()
481 && !config_has_opt_enabled(srv, CONST_STR_LEN("server.dir-listing"))) { in config_compat_module_load()
483 config_compat_module_remove(srv, CONST_STR_LEN("mod_dirlisting")); in config_compat_module_load()
491 config_compat_module_prepend(srv, CONST_STR_LEN("mod_indexfile")); in config_compat_module_load()
497 array_insert_value(srv->srvconf.modules, CONST_STR_LEN("mod_dirlisting")); in config_compat_module_load()
501 array_insert_value(srv->srvconf.modules, CONST_STR_LEN("mod_staticfile")); in config_compat_module_load()
516 if ( (v=config_has_opt_and_value(srv,CONST_STR_LEN("auth.backend"), in config_compat_module_load()
517 CONST_STR_LEN("htdigest"))) in config_compat_module_load()
518 ||(v=config_has_opt_and_value(srv,CONST_STR_LEN("auth.backend"), in config_compat_module_load()
519 CONST_STR_LEN("htpasswd"))) in config_compat_module_load()
520 ||(v=config_has_opt_and_value(srv,CONST_STR_LEN("auth.backend"), in config_compat_module_load()
521 CONST_STR_LEN("plain")))) in config_compat_module_load()
522 config_warn_authn_module(srv, CONST_STR_LEN("file"), v); in config_compat_module_load()
526 if (config_has_opt_and_value(srv, CONST_STR_LEN("auth.backend"), in config_compat_module_load()
527 CONST_STR_LEN("ldap"))) in config_compat_module_load()
528 config_warn_authn_module(srv, CONST_STR_LEN("ldap"), "ldap"); in config_compat_module_load()
534 config_compat_module_prepend(srv, CONST_STR_LEN("mod_auth")); in config_compat_module_load()
538 config_compat_module_prepend(srv, CONST_STR_LEN("mod_vhostdb")); in config_compat_module_load()
547 if (buffer_eq_slen(m, CONST_STR_LEN("mod_compress"))) in config_deprecate_module_compress()
549 else if (buffer_eq_slen(m, CONST_STR_LEN("mod_deflate"))) in config_deprecate_module_compress()
579 if (buffer_eq_slen(m, CONST_STR_LEN("mod_compress"))) in config_deprecate_module_compress()
589 buffer_copy_string_len(m, CONST_STR_LEN("mod_deflate")); in config_deprecate_module_compress()
608 if (buffer_eq_slen(k, CONST_STR_LEN("url-normalize"))) in config_http_parseopts()
610 else if (buffer_eq_slen(k, CONST_STR_LEN("url-normalize-unreserved"))) in config_http_parseopts()
612 else if (buffer_eq_slen(k, CONST_STR_LEN("url-normalize-required"))) in config_http_parseopts()
614 else if (buffer_eq_slen(k, CONST_STR_LEN("url-ctrls-reject"))) in config_http_parseopts()
616 else if (buffer_eq_slen(k, CONST_STR_LEN("url-path-backslash-trans"))) in config_http_parseopts()
618 else if (buffer_eq_slen(k, CONST_STR_LEN("url-path-2f-decode"))) in config_http_parseopts()
620 else if (buffer_eq_slen(k, CONST_STR_LEN("url-path-2f-reject"))) in config_http_parseopts()
622 else if (buffer_eq_slen(k, CONST_STR_LEN("url-path-dotseg-remove"))) in config_http_parseopts()
624 else if (buffer_eq_slen(k, CONST_STR_LEN("url-path-dotseg-reject"))) in config_http_parseopts()
626 else if (buffer_eq_slen(k, CONST_STR_LEN("url-query-20-plus"))) in config_http_parseopts()
628 else if (buffer_eq_slen(k, CONST_STR_LEN("url-invalid-utf8-reject"))) in config_http_parseopts()
630 else if (buffer_eq_slen(k, CONST_STR_LEN("header-strict"))) { in config_http_parseopts()
634 else if (buffer_eq_slen(k, CONST_STR_LEN("host-strict"))) { in config_http_parseopts()
638 else if (buffer_eq_slen(k, CONST_STR_LEN("host-normalize"))) { in config_http_parseopts()
642 else if (buffer_eq_slen(k, CONST_STR_LEN("method-get-body"))) { in config_http_parseopts()
700 { CONST_STR_LEN("server.modules"), in config_insert_srvconf()
703 ,{ CONST_STR_LEN("server.compat-module-load"), in config_insert_srvconf()
706 ,{ CONST_STR_LEN("server.systemd-socket-activation"), in config_insert_srvconf()
709 ,{ CONST_STR_LEN("server.port"), in config_insert_srvconf()
712 ,{ CONST_STR_LEN("server.bind"), in config_insert_srvconf()
715 ,{ CONST_STR_LEN("server.network-backend"), in config_insert_srvconf()
718 ,{ CONST_STR_LEN("server.chroot"), in config_insert_srvconf()
721 ,{ CONST_STR_LEN("server.username"), in config_insert_srvconf()
724 ,{ CONST_STR_LEN("server.groupname"), in config_insert_srvconf()
727 ,{ CONST_STR_LEN("server.errorlog-placeholder-moved-to-config-insert"), in config_insert_srvconf()
730 ,{ CONST_STR_LEN("server.breakagelog-placeholder-moved-to-config-insert"), in config_insert_srvconf()
733 ,{ CONST_STR_LEN("server.errorlog-use-syslog"), in config_insert_srvconf()
736 ,{ CONST_STR_LEN("server.syslog-facility"), in config_insert_srvconf()
739 ,{ CONST_STR_LEN("server.core-files"), in config_insert_srvconf()
742 ,{ CONST_STR_LEN("server.event-handler"), in config_insert_srvconf()
745 ,{ CONST_STR_LEN("server.pid-file"), in config_insert_srvconf()
748 ,{ CONST_STR_LEN("server.max-worker"), in config_insert_srvconf()
751 ,{ CONST_STR_LEN("server.max-fds"), in config_insert_srvconf()
754 ,{ CONST_STR_LEN("server.max-connections"), in config_insert_srvconf()
757 ,{ CONST_STR_LEN("server.max-request-field-size"), in config_insert_srvconf()
760 ,{ CONST_STR_LEN("server.chunkqueue-chunk-sz"), in config_insert_srvconf()
763 ,{ CONST_STR_LEN("server.upload-temp-file-size"), in config_insert_srvconf()
766 ,{ CONST_STR_LEN("server.upload-dirs"), in config_insert_srvconf()
769 ,{ CONST_STR_LEN("server.http-parseopts"), in config_insert_srvconf()
772 ,{ CONST_STR_LEN("server.http-parseopt-header-strict"), in config_insert_srvconf()
775 ,{ CONST_STR_LEN("server.http-parseopt-host-strict"), in config_insert_srvconf()
778 ,{ CONST_STR_LEN("server.http-parseopt-host-normalize"), in config_insert_srvconf()
781 ,{ CONST_STR_LEN("server.reject-expect-100-with-417"), /*(ignored)*/ in config_insert_srvconf()
784 ,{ CONST_STR_LEN("server.stat-cache-engine"), in config_insert_srvconf()
787 ,{ CONST_STR_LEN("mimetype.xattr-name"), in config_insert_srvconf()
790 ,{ CONST_STR_LEN("ssl.engine"), in config_insert_srvconf()
793 ,{ CONST_STR_LEN("debug.log-request-header-on-error"), in config_insert_srvconf()
796 ,{ CONST_STR_LEN("server.feature-flags"), in config_insert_srvconf()
942 CONST_STR_LEN("server.h2proto")), 1); in config_insert_srvconf()
947 CONST_STR_LEN("server.h2c")), 1); in config_insert_srvconf()
951 CONST_STR_LEN("server.absolute-dir-redirect")), 0); in config_insert_srvconf()
981 { CONST_STR_LEN("server.document-root"), in config_insert()
984 ,{ CONST_STR_LEN("server.name"), in config_insert()
987 ,{ CONST_STR_LEN("server.tag"), in config_insert()
990 ,{ CONST_STR_LEN("server.max-request-size"), in config_insert()
993 ,{ CONST_STR_LEN("server.max-keep-alive-requests"), in config_insert()
996 ,{ CONST_STR_LEN("server.max-keep-alive-idle"), in config_insert()
999 ,{ CONST_STR_LEN("server.max-read-idle"), in config_insert()
1002 ,{ CONST_STR_LEN("server.max-write-idle"), in config_insert()
1005 ,{ CONST_STR_LEN("server.errorfile-prefix"), in config_insert()
1008 ,{ CONST_STR_LEN("server.error-handler"), in config_insert()
1011 ,{ CONST_STR_LEN("server.error-handler-404"), in config_insert()
1014 ,{ CONST_STR_LEN("server.error-intercept"), in config_insert()
1017 ,{ CONST_STR_LEN("server.force-lowercase-filenames"), in config_insert()
1020 ,{ CONST_STR_LEN("server.follow-symlink"), in config_insert()
1023 ,{ CONST_STR_LEN("server.protocol-http11"), in config_insert()
1026 ,{ CONST_STR_LEN("server.range-requests"), in config_insert()
1029 ,{ CONST_STR_LEN("server.stream-request-body"), in config_insert()
1032 ,{ CONST_STR_LEN("server.stream-response-body"), in config_insert()
1035 ,{ CONST_STR_LEN("server.kbytes-per-second"), in config_insert()
1038 ,{ CONST_STR_LEN("connection.kbytes-per-second"), in config_insert()
1041 ,{ CONST_STR_LEN("mimetype.assign"), in config_insert()
1044 ,{ CONST_STR_LEN("mimetype.use-xattr"), in config_insert()
1047 ,{ CONST_STR_LEN("etag.use-inode"), in config_insert()
1050 ,{ CONST_STR_LEN("etag.use-mtime"), in config_insert()
1053 ,{ CONST_STR_LEN("etag.use-size"), in config_insert()
1056 ,{ CONST_STR_LEN("debug.log-condition-handling"), in config_insert()
1059 ,{ CONST_STR_LEN("debug.log-file-not-found"), in config_insert()
1062 ,{ CONST_STR_LEN("debug.log-request-handling"), in config_insert()
1065 ,{ CONST_STR_LEN("debug.log-request-header"), in config_insert()
1068 ,{ CONST_STR_LEN("debug.log-response-header"), in config_insert()
1071 ,{ CONST_STR_LEN("debug.log-timeouts"), in config_insert()
1074 ,{ CONST_STR_LEN("debug.log-state-handling"), in config_insert()
1077 ,{ CONST_STR_LEN("server.errorlog"), in config_insert()
1080 ,{ CONST_STR_LEN("server.breakagelog"), in config_insert()
1185 array_get_data_unset(cpv->v.a, CONST_STR_LEN(".js")); in config_insert()
1188 CONST_STR_LEN("application/javascript"))) in config_insert()
1190 CONST_STR_LEN("text/javascript")); in config_insert()
1434 buffer_append_str3(b, CONST_STR_LEN("\""), in config_print_array()
1436 CONST_STR_LEN("\"")); in config_print_array()
1864 buffer_copy_string_len(token, CONST_STR_LEN("(EOL)")); in config_tokenizer()
1952 buffer_copy_string_len(token, CONST_STR_LEN("(EOL)")); in config_tokenizer()
1959 buffer_copy_string_len(token, CONST_STR_LEN("(COMMA)")); in config_tokenizer()
1967 buffer_copy_string_len(token, CONST_STR_LEN("")); in config_tokenizer()
2379 CONST_STR_LEN("["), in config_remoteip_normalize_ipv6()
2381 CONST_STR_LEN("]")); in config_remoteip_normalize_ipv6()
2457 array_set_key_value(a, CONST_STR_LEN("var.CWD"), dcwd, strlen(dcwd)); in config_vars_init()
2459 *array_get_int_ptr(a, CONST_STR_LEN("var.PID")) = getpid(); in config_vars_init()
2481 buffer_copy_string_len(&dc->key, CONST_STR_LEN("global")); in config_read()