Glenn Strauss
5b1b9f7824
[tests] use ephemeral ports in tests
...
avoid spurious test failures due to conflicts with ports in use by
other processes, which might occur when tests use hard-coded ports
2 years ago
Glenn Strauss
0c6a6d06c6
[tests] OpenBSD crypt() support limited to bcrypt
...
OpenBSD crypt() does not support (insecure) crypt-des or crypt-md5
(The password used in the tests and lighttpd.htpasswd is crypt-des.
Something else could be used so that the tests can execute,
though that something might be different on different platforms.)
2 years ago
Glenn Strauss
b598bb53f9
[tests] remove FastCGI test dependency on PHP
2 years ago
Glenn Strauss
fc01b820ec
[tests] remove FastCGI test dependency on libfcgi
...
- rewrite fcgi-responder as standalone app
fcgi-responder is now a minimal, standalone FastCGI server for tests
- remove dependency on fcgi-devel package
- merge fcgi-auth into fcgi-responder
2 years ago
Glenn Strauss
af836b94d3
[tests] fix skip count in mod-fastcgi w/o php-cgi
...
(fix test skip count when php-cgi is not available)
3 years ago
Glenn Strauss
fa4ab19275
[core] reduce use of struct parse_header_state
3 years ago
Glenn Strauss
a1077d18cb
[tests] more test config cleanup
5 years ago
Glenn Strauss
4e6ef76406
[tests] update skip count in mod-fastcgi.t
5 years ago
Glenn Strauss
07517ff30a
[tests] some test config cleanup
...
including limiting use of php in tests to mod-fastcgi.t
5 years ago
Glenn Strauss
aa14493e47
[tests] reduce time waiting for backends to start
...
reduce time spent waiting for backends to start
tests check for active listening port before proceeding
test runs now complete in about 2/3 the time
6 years ago
Glenn Strauss
83b2b71527
[tests] give time for periodic jobs to detect exit
...
give time for periodic jobs to detect backend exit
6 years ago
Glenn Strauss
32443ea1c7
[tests] update test skip count for !fcgi-responder
6 years ago
Glenn Strauss
64df38aad8
[mod_fastcgi] detect child exit, restart proactively
...
(instead of detecting upon a subsequent HTTP request)
(for backends spawned by mod_fastcgi)
6 years ago
Glenn Strauss
e9ee22c204
[autobuild] skip two new tests if no fcgi-auth
7 years ago
Christoph Kreutzer
7ef569b204
[tests] test coverage for issues ( #321 , #322 )
...
FastCGI Authorizer support with FastCGI Responders
x-ref:
"mod_fastcgi authorizers cannot protect fastcgi responders"
http://redmine.lighttpd.net/issues/321
x-ref:
"FastCGI Authorizer support for Variable-name variable passing"
http://redmine.lighttpd.net/issues/322
7 years ago
Glenn Strauss
8dcbd61a45
[cygwin] fix mod_proxy and mod_fastcgi ioctl use
...
cygwin does not support ioctl on sockets, returning EOPTNOTSUPP
(would be better if cygwin used Windows ioctlsocket() instead)
Windows uses signed (socklen_t), so add some casts to quiet warnings
Windows path handling is convoluted, so disable one tests in mod_fastcgi
since trailing spaces are removed from URL for _WIN32 and __CYGWIN__ in
response.c
7 years ago
Stefan Bühler
87c5ec9651
[tests] search for perl in PATH instead of /usr/bin; whitespace + test config cleanups
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3019 152afb58-edef-0310-8abb-c4023f1b3aa9
8 years ago
Stefan Bühler
7187271fb6
[auth] Add "AUTH_TYPE" environment (for *cgi), remove fastcgi specific workaround, add fastcgi test case ( fixes #889 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2833 152afb58-edef-0310-8abb-c4023f1b3aa9
11 years ago
Stefan Bühler
8c83976dbe
mod_fastcgi: Add "X-Sendfile2" - supporting multiple ranged files ( fixes #2008 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2651 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
fd13e94427
mod_fastcgi: restart local procs immediately after they terminated, fix local procs handling
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2639 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
17d0c36eed
Read hostname from absolute uris in the request line ( fixes #1937 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2631 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
b2108c436c
Remove X-Sendfile-Range feature; it will be replaced with something more powerful ( #2005 , #2008 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2542 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
ad1e80e5af
Add X-Sendfile-Range feature ( fixes #2005 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2531 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
57066345e4
Workaround broken operating systems: check for trailing '/' in filenames ( fixes #1989 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2510 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
ce39062dd2
Fix workaround for incorrect path info/scriptname if fastcgi prefix is "/" ( fixes #729 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2421 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
80a4f7a721
Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. ( #963 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2324 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0c8ebbeb60
[tests] Fix fastcgi php finding
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2249 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3bb07cad07
[tests] Fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2243 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
074223041a
Fix typo in test description
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2156 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
debd30876a
r2123@chromobil: stefan | 2008-02-27 19:30:54 +0100
...
do not generate a "Content-Length: 0" header for HEAD requests, added test too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2099 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
c65ad47a55
- change s/// separator that it doesn't confuse vim
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2027 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
74c303a7b1
- a more portable version for the SAPI breakage in php 5.2.4
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1967 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
3bc2da57d3
fixed number of skipped tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1923 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
9dbf12d8ed
- fixed test for max-request-size on 64bit platforms
...
- fixed counting the skipped tests in mod-fastcgi.t
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1039 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
ad620446f2
we have an extra test for responders
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1028 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
1343f4c081
check for trailing spaces on windows
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1023 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f6257d9118
made the 'spawn php myself' working again for me (jan)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@905 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a732e84748
use netstat to check if a process is listening on port 1026
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@673 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
7c4bd1e8bb
wait the fastcgi process to be up
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@671 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3ebc17571a
find perl at runtime
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@670 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4fc9ee0f86
removed duplicate test-scripts, added a test for bin-copy-env and cleaned up configfiles
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@661 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7988661090
added tests for keep-alive and setenv and passed a ARRAY ref instead of a HASH ref
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@654 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c013b0180d
off by one in the skip count
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@631 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
426880f0a2
removed warnings on empty response-body, added debug output to mod_proxy
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@559 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
75c3a8393a
added include_shell option to configfiles (merged the rest of the trunk changesets)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
eaa13584b5
added tests for /prefix + PATH_INFO on check-local = disable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@479 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
877161c067
switch to LigtyTest module
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@394 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7a25f1b5f5
Unified all tests to use the LighyTest framework
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@388 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4d33902639
merged [373]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@374 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
659503eb16
fixed check for running process
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@103 152afb58-edef-0310-8abb-c4023f1b3aa9
19 years ago