Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 16 of 16) sorted by relevance

/lighttpd1.4/doc/scripts/
H A Dcreate-mime.conf.pl164 foreach my $ext (@extensions) {
165 add(".${ext}", $mimetype);
192 while (my ($ext, $mimetype) = each %useful) {
193 add($ext, $mimetype) unless $extensions{$ext};
254 for my $ext (sort { countdots($b) <=> countdots($a) || mimecmpvalue($extensions{$a}) cmp mimecmpval…
255 print_type($ext, $extensions{$ext});
/lighttpd1.4/src/
H A Dmod_setenv.c89 ds->ext = http_header_hkey_get(BUF_PTR_LEN(&ds->key)); in mod_setenv_prep_ext()
200 http_header_request_append(r, ds->ext, BUF_PTR_LEN(&ds->key), in URIHANDLER_FUNC()
209 ? http_header_request_set(r, ds->ext, BUF_PTR_LEN(&ds->key), in URIHANDLER_FUNC()
211 : http_header_request_unset(r, ds->ext, BUF_PTR_LEN(&ds->key)); in URIHANDLER_FUNC()
258 http_header_response_insert(r, ds->ext, BUF_PTR_LEN(&ds->key), in REQUEST_FUNC()
267 ? http_header_response_set(r, ds->ext, BUF_PTR_LEN(&ds->key), in REQUEST_FUNC()
269 : http_header_response_unset(r, ds->ext, BUF_PTR_LEN(&ds->key)); in REQUEST_FUNC()
H A Darray.c225 static int32_t array_get_index_ext(const array * const a, const int ext, const char * const k, cons… in array_get_index_ext() argument
232 const int x = ((data_string *)a->sorted[probe])->ext; in array_get_index_ext()
234 const int e = (ext|x) in array_get_index_ext()
235 ? ext in array_get_index_ext()
248 data_unset *array_get_element_klen_ext(const array * const a, const int ext, const char *key, const… in array_get_element_klen_ext() argument
249 const int32_t ipos = array_get_index_ext(a, ext, key, klen); in array_get_element_klen_ext()
388 buffer * array_get_buf_ptr_ext(array * const a, const int ext, const char * const k, const uint32_t… in array_get_buf_ptr_ext() argument
389 int32_t ipos = array_get_index_ext(a, ext, k, klen); in array_get_buf_ptr_ext()
393 ds->ext = ext; in array_get_buf_ptr_ext()
H A Darray.h35 int ext; /*(fits in space due to alignment in 64-bit; extends 32-bit)*/ member
97 data_unset *array_get_element_klen_ext(const array *a, int ext, const char *key, uint32_t klen);
113 buffer * array_get_buf_ptr_ext(array *a, int ext, const char *k, uint32_t klen);
H A Dgw_backend.c233 for (uint32_t i = 0; i < ext->used; ++i) { in gw_extension_insert()
235 fe = ext->exts+i; in gw_extension_insert()
241 if (!(ext->used & (8-1))) { in gw_extension_insert()
242 ck_realloc_u32((void **)&ext->exts,ext->used,8,sizeof(*ext->exts)); in gw_extension_insert()
243 memset((void *)(ext->exts + ext->used), 0, 8 * sizeof(*ext->exts)); in gw_extension_insert()
245 fe = ext->exts + ext->used++; in gw_extension_insert()
1121 hctx->ext = NULL; in handler_ctx_clear()
2547 extension = ext; in gw_check_extension()
2554 extension = ext; in gw_check_extension()
2640 hctx->ext = extension; in gw_check_extension()
[all …]
H A Dconfigfile.h51 int ext; member
H A Dhttp_cgi.c320 if (ds->ext == HTTP_HEADER_OTHER in http_cgi_headers()
324 else if (ds->ext == HTTP_HEADER_CONTENT_TYPE) in http_cgi_headers()
H A Dmod_proxy.c914 switch (ds->ext) { in proxy_create_env()
970 if (ds->ext == HTTP_HEADER_OTHER && buffer_eq_icase_slen(&ds->key, CONST_STR_LEN("URI"))) break; in proxy_create_env()
975 if (ds->ext == HTTP_HEADER_LOCATION) break; in proxy_create_env()
979 …if (ds->ext == HTTP_HEADER_OTHER && buffer_eq_icase_slen(&ds->key, CONST_STR_LEN("Destination"))) … in proxy_create_env()
982 if (ds->ext == HTTP_HEADER_CONTENT_LOCATION) break; in proxy_create_env()
H A Dgw_backend.h303 gw_extension *ext; member
H A Dmod_extforward.c373 ds->ext = in SETDEFAULTS_FUNC()
413 ds->ext = http_header_hkey_get(BUF_PTR_LEN(&ds->value)); in SETDEFAULTS_FUNC()
1089 forwarded = http_header_request_get(r, ds->ext, BUF_PTR_LEN(hdr)); in URIHANDLER_FUNC()
1091 is_forwarded_header = (ds->ext == HTTP_HEADER_FORWARDED); in URIHANDLER_FUNC()
1250 uint64_t ext[32]; /* 2k (- hdr) for v2 TLV extensions (at least 1536 MTU) */ member
H A Dmod_mbedtls.c4426 unsigned char *ext = buf + ext_offset + 2; in ssl_parse_client_hello() local
4435 ext_id = ( ( ext[0] << 8 ) | ( ext[1] ) ); in ssl_parse_client_hello()
4436 ext_size = ( ( ext[2] << 8 ) | ( ext[3] ) ); in ssl_parse_client_hello()
4449 ret = mod_mbedtls_alpn_select_cb(hctx, ext + 4, ext_size); in ssl_parse_client_hello()
4460 ext += 4 + ext_size; in ssl_parse_client_hello()
H A Dconfigfile-glue.c514 l = http_header_request_get(r, dc->ext, BUF_PTR_LEN(&dc->comp_tag)); in config_check_cond_nocache_eval()
H A Dh2.c2218 if (__builtin_expect( (ds->ext != HTTP_HEADER_OTHER), 1)) { in h2_send_headers()
2219 memcpy(v, http_header_lc[ds->ext], klen); in h2_send_headers()
2240 lsx.hpack_index = http_header_lshpack_idx[ds->ext]; in h2_send_headers()
H A Dmod_ajp13.c382 switch (ds->ext) { /* map request header to ajp13 SC_REQ_* code */ in ajp13_enc_request_headers()
H A Dconfigparser.y338 dc->ext = http_header_hkey_get(BUF_PTR_LEN(&dc->comp_tag)); in configparser_parse_condition()
/lighttpd1.4/
H A DNEWS276 * [core] allow redirect,rewrite ext subst w/o pcre
1831 * [mod_staticfile] search ext array if not empty
2680 * [mod_fastcgi] allow authorizer, responder for same path/ext (#321)