| /lighttpd1.4/src/t/ |
| H A D | test_mod_evhost.c | 15 …d_evhost_build_doc_root_path_loop(struct ttt *tt, size_t nelts, buffer *authority, buffer *b, arra… in test_mod_evhost_build_doc_root_path_loop() argument 20 mod_evhost_build_doc_root_path(b, a, authority, path_pieces); in test_mod_evhost_build_doc_root_path_loop() 27 buffer *authority = buffer_init(); in test_mod_evhost_build_doc_root_path() local 54 buffer_copy_string_len(authority, CONST_STR_LEN("host.example.org")); in test_mod_evhost_build_doc_root_path() 55 test_mod_evhost_build_doc_root_path_loop(tt1, sizeof(tt1)/sizeof(tt1[0]), authority, b, a); in test_mod_evhost_build_doc_root_path() 57 buffer_copy_string_len(authority, CONST_STR_LEN("example")); in test_mod_evhost_build_doc_root_path() 58 test_mod_evhost_build_doc_root_path_loop(tt2, sizeof(tt2)/sizeof(tt2[0]), authority, b, a); in test_mod_evhost_build_doc_root_path() 60 buffer_copy_string_len(authority, CONST_STR_LEN("[::1]:80")); in test_mod_evhost_build_doc_root_path() 61 test_mod_evhost_build_doc_root_path_loop(tt3, sizeof(tt3)/sizeof(tt3[0]), authority, b, a); in test_mod_evhost_build_doc_root_path() 63 buffer_free(authority); in test_mod_evhost_build_doc_root_path()
|
| H A D | test_keyvalue.c | 51 buffer *authority = buffer_init(); in test_keyvalue_pcre_keyvalue_buffer_process() local 57 burl.authority = authority; in test_keyvalue_pcre_keyvalue_buffer_process() 62 buffer_copy_string_len(authority, CONST_STR_LEN("www.example.com")); in test_keyvalue_pcre_keyvalue_buffer_process() 66 cache.comp_value = authority; in test_keyvalue_pcre_keyvalue_buffer_process() 121 buffer_free(authority); in test_keyvalue_pcre_keyvalue_buffer_process()
|
| H A D | test_request.c | 621 free(r.uri.authority.ptr); in test_request()
|
| /lighttpd1.4/src/ |
| H A D | mod_evhost.c | 216 char *ptr = authority->ptr + buffer_clen(authority); in mod_evhost_parse_host() 226 do { --ptr; } while (ptr > authority->ptr && ptr[-1] != ']'); in mod_evhost_parse_host() 230 ptr = authority->ptr; in mod_evhost_parse_host() 236 for(; ptr > authority->ptr; --ptr) { in mod_evhost_parse_host() 252 if (colon != authority->ptr) { in mod_evhost_parse_host() 253 for(ptr = colon - 1, i = 1; ptr > authority->ptr; --ptr) { in mod_evhost_parse_host() 278 mod_evhost_parse_host(b, parsed_host, authority); in mod_evhost_build_doc_root_path() 290 char *colon = strchr(authority->ptr, ':'); in mod_evhost_build_doc_root_path() 293 buffer_append_string_buffer(b, authority); /* adds fqdn */ in mod_evhost_build_doc_root_path() 296 buffer_append_string_len(b, authority->ptr, colon - authority->ptr); /* adds fqdn */ in mod_evhost_build_doc_root_path() [all …]
|
| H A D | mod_vhostdb.c | 100 const int ndx = splaytree_djbhash(BUF_PTR_LEN(&r->uri.authority)); in mod_vhostdb_cache_query() 107 && buffer_is_equal_string(&r->uri.authority, ve->server_name, ve->slen) in mod_vhostdb_cache_query() 115 const int ndx = splaytree_djbhash(BUF_PTR_LEN(&r->uri.authority)); in mod_vhostdb_cache_insert() 274 if (buffer_is_blank(&r->uri.authority)) return HANDLER_GO_ON; in REQUEST_FUNC() 279 && buffer_is_equal_string(&r->uri.authority, ve->server_name, ve->slen)) in REQUEST_FUNC() 309 ve = vhostdb_cache_entry_init(&r->uri.authority, b); in REQUEST_FUNC()
|
| H A D | mod_redirect.c | 176 burl.authority = &r->uri.authority; in URIHANDLER_FUNC() 180 if (buffer_is_blank(burl.authority)) in URIHANDLER_FUNC() 181 burl.authority = r->server_name; in URIHANDLER_FUNC()
|
| H A D | reqpool.c | 59 r->server_name = &r->uri.authority; in request_init_data() 189 r->server_name = &r->uri.authority; in request_reset_ex() 190 buffer_clear(&r->uri.authority); in request_reset_ex() 218 free(r->uri.authority.ptr); in request_free_data()
|
| H A D | mod_rewrite.c | 298 burl.authority = &r->uri.authority; in process_rewrite_rules() 302 if (buffer_is_blank(burl.authority)) in process_rewrite_rules() 303 burl.authority = r->server_name; in process_rewrite_rules()
|
| H A D | burl.h | 9 const buffer *authority; member
|
| H A D | mod_vhostdb_pgsql.c | 132 buffer_clen(&r->uri.authority) * 2); in mod_vhostdb_pgsql_query() 135 BUF_PTR_LEN(&r->uri.authority), &err); in mod_vhostdb_pgsql_query()
|
| H A D | mod_vhostdb_mysql.c | 152 buffer_clen(&r->uri.authority) * 2); in mod_vhostdb_mysql_query() 155 BUF_PTR_LEN(&r->uri.authority)); in mod_vhostdb_mysql_query()
|
| H A D | response.c | 364 : &r->uri.authority; in http_response_config() 427 "URI-authority : %s", r->uri.authority.ptr); in http_response_prepare() 584 buffer_copy_string_len_lc(&r->uri.authority, BUF_PTR_LEN(r->http_host)); in http_response_comeback() 586 buffer_copy_string_len(&r->uri.authority, CONST_STR_LEN("")); in http_response_comeback()
|
| H A D | mod_openssl.c | 487 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in ssl_tlsext_status_cb() 1075 hctx->r->uri.authority.ptr); in mod_openssl_cert_cb() 1084 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in mod_openssl_cert_cb() 1109 hctx->r->uri.authority.ptr, in mod_openssl_cert_cb() 1126 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in mod_openssl_cert_cb() 1148 "for TLS server name %s", hctx->r->uri.authority.ptr); in mod_openssl_cert_cb() 1189 buffer_copy_string_len_lc(&r->uri.authority, servername, len); in mod_openssl_SNI() 1193 if (0 != http_request_host_policy(&r->uri.authority, in mod_openssl_SNI() 1764 const buffer * const name = &hctx->r->uri.authority; in mod_openssl_acme_tls_1() 1858 if (buffer_is_blank(&hctx->r->uri.authority)) { in mod_openssl_alpn_h2_policy() [all …]
|
| H A D | mod_wolfssl.c | 475 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in ssl_tlsext_status_cb() 1249 hctx->r->uri.authority.ptr); in mod_openssl_cert_cb() 1260 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in mod_openssl_cert_cb() 1270 hctx->r->uri.authority.ptr, ERR_error_string(ERR_get_error(), NULL)); in mod_openssl_cert_cb() 1278 "for TLS server name %s", hctx->r->uri.authority.ptr); in mod_openssl_cert_cb() 1316 buffer_copy_string_len_lc(&r->uri.authority, servername, len); in mod_openssl_SNI() 1320 if (0 != http_request_host_policy(&r->uri.authority, in mod_openssl_SNI() 1708 const buffer * const name = &hctx->r->uri.authority; in mod_openssl_acme_tls_1() 1811 if (buffer_is_blank(&hctx->r->uri.authority)) { in mod_openssl_alpn_h2_policy() 3006 buffer_blank(&r->uri.authority); in CONNECTION_FUNC()
|
| H A D | mod_status.c | 208 buffer_append_string_encoded(b, BUF_PTR_LEN(&r->uri.authority), ENCODING_HTML); in mod_status_html_rtable_r() 392 buffer_append_string_encoded(b, BUF_PTR_LEN(&r->uri.authority), ENCODING_HTML); in mod_status_handle_server_status_html() 393 if (!buffer_is_blank(r->server_name) && r->server_name != &r->uri.authority) { in mod_status_handle_server_status_html()
|
| H A D | request.h | 84 buffer authority; member
|
| H A D | keyvalue.c | 286 if (burl->authority) in pcre_keyvalue_buffer_subst_ext() 287 burl_append(b, BUF_PTR_LEN(burl->authority), flags); in pcre_keyvalue_buffer_subst_ext()
|
| H A D | mod_simple_vhost.c | 185 const buffer *host = &r->uri.authority; in mod_simple_vhost_docroot()
|
| H A D | mod_nss.c | 1228 const buffer * const name = &hctx->r->uri.authority; in mod_nss_acme_tls_1() 1312 if (buffer_is_blank(&hctx->r->uri.authority)) { in mod_nss_alpn_h2_policy() 1423 buffer_copy_string_len_lc(&r->uri.authority,(const char *)sn->data,sn->len); in mod_nss_SNI() 1427 if (0 != http_request_host_policy(&r->uri.authority, in mod_nss_SNI() 1451 " server name %s", hctx->r->uri.authority.ptr); in mod_nss_SNI() 1473 r->uri.authority.ptr); in mod_nss_SNI() 1490 hctx->r->uri.authority.ptr); /*(might not be set yet if no SNI)*/ in mod_nss_SNI() 2309 buffer_blank(&r->uri.authority); in CONNECTION_FUNC() 2359 hctx->r->uri.authority.ptr); /*(might not be set yet if no SNI)*/ in CONNECTION_FUNC()
|
| H A D | mod_gnutls.c | 796 hctx->r->uri.authority.ptr); /*(might not be set yet if no SNI)*/ in mod_gnutls_verify_set_tlist() 1273 const buffer * const name = &hctx->r->uri.authority; in mod_gnutls_acme_tls_1() 1367 hctx->r->uri.authority.ptr); in mod_gnutls_acme_tls_1() 1383 if (buffer_is_blank(&hctx->r->uri.authority)) { in mod_gnutls_alpn_h2_policy() 1481 buffer_copy_string_len_lc(&r->uri.authority, (const char *)servername, len); in mod_gnutls_SNI() 1485 if (0 != http_request_host_policy(&r->uri.authority, in mod_gnutls_SNI() 1636 hctx->r->uri.authority.ptr); in mod_gnutls_client_hello_hook() 2606 buffer_blank(&r->uri.authority); in CONNECTION_FUNC()
|
| H A D | mod_vhostdb_dbi.c | 189 r->uri.authority.ptr,&esc); in mod_vhostdb_dbi_query()
|
| H A D | mod_mbedtls.c | 737 buffer_copy_string_len_lc(&r->uri.authority, (const char *)servername, len); in mod_mbedtls_SNI() 741 if (0 != http_request_host_policy(&r->uri.authority, in mod_mbedtls_SNI() 783 r->uri.authority.ptr); in mod_mbedtls_SNI() 800 hctx->r->uri.authority.ptr); in mod_mbedtls_conf_verify() 1076 const buffer * const name = &hctx->r->uri.authority; in mod_mbedtls_acme_tls_1() 1161 if (buffer_is_blank(&hctx->r->uri.authority)) { in mod_mbedtls_alpn_h2_policy() 2333 buffer_blank(&r->uri.authority); in CONNECTION_FUNC()
|
| H A D | request.c | 1227 buffer_copy_buffer(&r->uri.authority, r->http_host); in http_request_parse() 1230 buffer_copy_string_len(&r->uri.authority, CONST_STR_LEN("")); in http_request_parse()
|
| /lighttpd1.4/doc/outdated/ |
| H A D | plugins.txt | 56 called after uri.path_raw, uri.authority and uri.scheme are set
|
| H A D | magnet.txt | 95 * lighty.env["uri.authority"] = "example.org" 156 … lighty.header["Location"] = "https://" .. lighty.env["uri.authority"] .. lighty.env["request.uri"]
|