| /lighttpd1.4/tests/ |
| H A D | request.t | 15 my $t; 21 $t->{REQUEST} = ( <<EOF 28 $t->{REQUEST} = ( <<EOF 35 $t->{REQUEST} = ( <<EOF 44 $t->{REQUEST} = ( <<EOF 51 $t->{REQUEST} = ( <<EOF 60 $t->{REQUEST} = ( <<EOF 67 $t->{REQUEST} = ( <<EOF 74 $t->{REQUEST} = ( <<EOF 81 $t->{REQUEST} = ( <<EOF [all …]
|
| H A D | mod-fastcgi.t | 15 my $t; 28 $t->{REQUEST} = ( <<EOF 36 $t->{REQUEST} = ( <<EOF 43 $t->{REQUEST} = ( <<EOF 50 $t->{REQUEST} = ( <<EOF 57 $t->{REQUEST} = ( <<EOF 65 $t->{REQUEST} = ( <<EOF 73 $t->{REQUEST} = ( <<EOF 84 $t->{REQUEST} = ( <<EOF 93 $t->{REQUEST} = ( <<EOF [all …]
|
| H A D | core-condition.t | 17 my $t; 24 $t->{REQUEST} = ( <<EOF 32 $t->{REQUEST} = ( <<EOF 40 $t->{REQUEST} = ( <<EOF 48 $t->{REQUEST} = ( <<EOF 56 $t->{REQUEST} = ( <<EOF 64 $t->{REQUEST} = ( <<EOF 72 $t->{REQUEST} = ( <<EOF 79 $t->{REQUEST} = ( <<EOF 96 $t->{REQUEST} = ( <<EOF [all …]
|
| H A D | mod-scgi.t | 14 my $t; 25 $t->{REQUEST} = ( <<EOF 31 ok($tf->handle_http($t) == 0, 'line-ending \n\n'); 33 $t->{REQUEST} = ( <<EOF 41 $t->{REQUEST} = ( <<EOF 49 $t->{REQUEST} = ( <<EOF 57 $t->{REQUEST} = ( <<EOF 65 $t->{REQUEST} = ( <<EOF 78 $t->{REQUEST} = ( <<EOF 85 $t->{REQUEST} = ( <<EOF [all …]
|
| H A D | meson.build | 29 'request.t', 30 'core-condition.t', 31 'mod-fastcgi.t', 32 'mod-scgi.t', 37 foreach t: tests 38 test(t, find_program('./' + t), env: env, is_parallel: false)
|
| H A D | README | 18 then, for any particular *.t such as request.t, 19 $ ./request.t 24 $ TRACE_HTTP=1 ./request.t 29 $ TRACEME=strace ./request.t # output to file 'strace' 30 $ TRACEME=truss ./request.t # output to file 'strace' 31 $ TRACEME=gdb ./request.t # not for interactive debugging (see below) 32 $ TRACEME=valgrind ./request.t 42 Each *.t loads the lighttpd server with one or more config files. 43 See each *.t for which config file is used, e.g. tests/lighttpd.conf
|
| H A D | CMakeLists.txt | 18 request.t 19 core-condition.t 20 mod-fastcgi.t 21 mod-scgi.t
|
| H A D | Makefile.am | 16 core-condition.t \ 19 mod-fastcgi.t \ 20 mod-scgi.t \ 22 request.t \
|
| H A D | LightyTest.pm | 255 my $t = shift; 260 my @request = $t->{REQUEST}; 261 my @response = $t->{RESPONSE}; 262 my $slow = defined $t->{SLOWREQUEST}; 318 foreach $href ( @{ $t->{RESPONSE} }) { 359 $t->{etag} = $resp_hdr{'etag'}; 360 $t->{date} = $resp_hdr{'date'};
|
| H A D | SConscript | 9 core-condition.t \ 15 mod-fastcgi.t \ 16 mod-scgi.t \ 18 request.t \
|
| /lighttpd1.4/src/ |
| H A D | algo_splaytree.c | 66 if (t == NULL) return t; in splaytree_splay() 83 t = t->left; in splaytree_splay() 95 t = t->right; in splaytree_splay() 106 return t; in splaytree_splay() 115 t = splaytree_splay(t, i); in splaytree_insert() 126 new->right = t; in splaytree_insert() 127 t->left = NULL; in splaytree_insert() 130 new->left = t; in splaytree_insert() 131 t->right = NULL; in splaytree_insert() 143 t = splaytree_splay(t, i); in splaytree_delete() [all …]
|
| H A D | sys-time.h | 93 if ((uint64_t)t <= INT32_MAX) { in gmtime_y2038_kludge32() 94 time_t tt = (time_t)t; in gmtime_y2038_kludge32() 99 if (t < 0) in gmtime_y2038_kludge32() 100 t = TIME64_CAST(t); in gmtime_y2038_kludge32() 106 else if (t < 3914709247LL) { in gmtime_y2038_kludge32() 108 tt = (time_t)(t - 1767225600LL); in gmtime_y2038_kludge32() 129 if ((uint64_t)t <= INT32_MAX) { in localtime_y2038_kludge32() 130 time_t tt = (time_t)t; in localtime_y2038_kludge32() 135 if (t < 0) in localtime_y2038_kludge32() 136 t = TIME64_CAST(t); in localtime_y2038_kludge32() [all …]
|
| H A D | mod_ssi.c | 273 while (t->offset < t->size in ssi_expr_tokenizer() 274 && (t->input[t->offset] == ' ' || t->input[t->offset] == '\t')) { in ssi_expr_tokenizer() 277 if (t->offset >= t->size) in ssi_expr_tokenizer() 279 if (t->input[t->offset] == '\0') { in ssi_expr_tokenizer() 285 switch (t->input[t->offset]) { in ssi_expr_tokenizer() 288 if (t->input[t->offset + 1] == '=') in ssi_expr_tokenizer() 351 while (t->input[t->offset + i] && t->input[t->offset + i] != '\'') in ssi_expr_tokenizer() 353 if (t->input[t->offset + i]) { in ssi_expr_tokenizer() 368 while (t->input[t->offset + i] && t->input[t->offset + i] != '}') in ssi_expr_tokenizer() 376 var = t->input + t->offset + 2; in ssi_expr_tokenizer() [all …]
|
| H A D | configfile.c | 1111 for (char *t=strchr(b->ptr,'\n'); t; t=strchr(t+2,'\n')) { in config_insert() local 1125 while (*t==' ' || *t=='\t' || *t=='\r' || *t=='\n') ++t; in config_insert() 1848 const char *s = t->input + t->offset; in config_skip_comment() 1856 t->source, t->line, t->offset - t->line_pos, msg); in config_tokenizer_err() 1868 while (t->offset < t->size) { in config_tokenizer() 1931 switch (t->input[t->offset]) { in config_tokenizer() 1935 t->line_pos = t->offset; in config_tokenizer() 1949 } while (t->offset < t->size); in config_tokenizer() 2028 while (++t->offset < t->size) { in config_tokenizer() 2029 int c = t->input[t->offset]; in config_tokenizer() [all …]
|
| H A D | Makefile.am | 4 t/test_common \ 5 t/test_configfile \ 6 t/test_mod 12 t/test_common$(EXEEXT) \ 13 t/test_configfile$(EXEEXT) \ 14 t/test_mod$(EXEEXT) 494 t_test_common_SOURCES = t/test_common.c \ 495 t/test_array.c \ 498 t/test_burl.c \ 518 t/test_mod_ssi.c \ [all …]
|
| H A D | mod_accesslog.c | 400 char *t = b->ptr; in SETDEFAULTS_FUNC() local 667 buffer_append_int(b, (intmax_t)t); in accesslog_append_time() 669 unix_time64_t t; in accesslog_append_time() local 673 t = ts->tv_sec; in accesslog_append_time() 676 t = r->start_hp.tv_sec; in accesslog_append_time() 680 t *= 1000; in accesslog_append_time() 683 t *= 1000000; in accesslog_append_time() 686 t *= 1000000000; in accesslog_append_time() 687 t += ns; in accesslog_append_time() 718 unix_time64_t t; in accesslog_append_time() local [all …]
|
| H A D | burl.c | 64 (unsigned char *)buffer_string_prepare_copy(t,i+(used-i)*3+1); in burl_normalize_basic_unreserved_fix() 98 static int burl_normalize_basic_unreserved (buffer *b, buffer *t) in burl_normalize_basic_unreserved() argument 121 qs = burl_normalize_basic_unreserved_fix(b, t, i, qs); in burl_normalize_basic_unreserved() 174 static int burl_normalize_basic_required (buffer *b, buffer *t) in burl_normalize_basic_required() argument 201 qs = burl_normalize_basic_required_fix(b, t, i, qs); in burl_normalize_basic_required() 312 buffer_copy_string_len(t, b->ptr+qs, used - qs); in burl_normalize_path() 320 buffer_append_string_len(b, BUF_PTR_LEN(t)); in burl_normalize_path() 337 int burl_normalize (buffer *b, buffer *t, int flags) in burl_normalize() argument 354 ? burl_normalize_basic_required(b, t) in burl_normalize() 355 : burl_normalize_basic_unreserved(b, t); in burl_normalize() [all …]
|
| H A D | stat_cache.c | 285 if (t->left) fam_dir_tag_refcnt(t->left, keys, ndx); in fam_dir_tag_refcnt() 286 if (t->right) fam_dir_tag_refcnt(t->right, keys, ndx); in fam_dir_tag_refcnt() 292 keys[(*ndx)++] = t->key; in fam_dir_tag_refcnt() 342 if (t->left) fam_dir_invalidate_tree(t->left, name, len); in fam_dir_invalidate_tree() 343 if (t->right) fam_dir_invalidate_tree(t->right, name, len); in fam_dir_invalidate_tree() 1167 if (t->left) stat_cache_invalidate_dir_tree_walk(t->left, name, len); in stat_cache_invalidate_dir_tree_walk() 1168 if (t->right) stat_cache_invalidate_dir_tree_walk(t->right, name, len); in stat_cache_invalidate_dir_tree_walk() 1199 if (t->left) stat_cache_tag_dir_tree(t->left, name, len, keys, ndx); in stat_cache_tag_dir_tree() 1200 if (t->right) stat_cache_tag_dir_tree(t->right, name, len, keys, ndx); in stat_cache_tag_dir_tree() 1487 if (t->left) in stat_cache_tag_old_entries() [all …]
|
| H A D | meson.build | 226 struct tm t; 227 t.tm_gmtoff = 0; 673 't/test_common.c', 674 't/test_array.c', 675 't/test_base64.c', 676 't/test_buffer.c', 677 't/test_burl.c', 679 't/test_http_kv.c', 681 't/test_request.c', 721 't/test_mod.c', [all …]
|
| H A D | http_date.h | 21 uint32_t http_date_time_to_str (char *s, size_t sz, unix_time64_t t); 26 #define http_date_time_append(b, t) \ argument 29 HTTP_DATE_SZ, (t))) \
|
| H A D | algo_splaytree.h | 12 splay_tree * splaytree_splay (splay_tree *t, int key); 13 splay_tree * splaytree_insert(splay_tree *t, int key, void *data); 14 splay_tree * splaytree_delete(splay_tree *t, int key);
|
| H A D | CMakeLists.txt | 287 struct tm t; 288 t.tm_gmtoff = 0; 938 t/test_mod.c 944 t/test_mod_ssi.c 951 t/test_common.c 952 t/test_array.c 953 t/test_base64.c 954 t/test_buffer.c 955 t/test_burl.c 957 t/test_http_kv.c [all …]
|
| H A D | mod_maxminddb.c | 218 for (char *t = value->ptr; (t = strchr(t, '/')); ++t) ++k; in mod_maxminddb_prep_cenv() local 223 for (char *t = value->ptr; (t = strchr(t, '/')); ) { in mod_maxminddb_prep_cenv() local 224 *t = '\0'; in mod_maxminddb_prep_cenv() 225 keys[++k] = ++t; in mod_maxminddb_prep_cenv()
|
| /lighttpd1.4/ |
| H A D | SConstruct | 181 struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0; 507 fail("Couldn't find bz2") 522 fail("Couldn't find dbi") 530 fail("Couldn't find fam") 555 fail("Couldn't find krb5") 566 fail("Couldn't find ldap") 568 fail("Couldn't find lber") 598 fail("Couldn't find NSS") 659 fail("Couldn't find pam") 673 fail("Couldn't find pcre") [all …]
|
| /lighttpd1.4/src/t/ |
| H A D | test_mod_evhost.c | 17 struct ttt *t = tt+i; in test_mod_evhost_build_doc_root_path_loop() local 18 const buffer *path_pieces = mod_evhost_parse_pattern(t->pattern); in test_mod_evhost_build_doc_root_path_loop() 21 assert(buffer_eq_slen(b, t->expect, t->elen)); in test_mod_evhost_build_doc_root_path_loop()
|