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
60e745695a
Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2532 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
59eaedf353
[tests] Remove index.html~ from repository, create it on the fly for tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2530 152afb58-edef-0310-8abb-c4023f1b3aa9
14 years ago
Stefan Bühler
3af67d1392
Ignore multiple "If-None-Match" headers (only use first one, fixes #753 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2528 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
b8b4fe19c8
Finally removed spawn-fcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2423 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
b06a8648df
[tests] Fix mod-rewrite test (skipped too many tests if php wasn't running)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2393 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
fdcb6f60f4
Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.( fixes #1884 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2384 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
36f74e5d23
Revert url decoding+simplifying before matching of mod_rewrite/mod_redirect
...
- Lot of regressions (we forgot to reencode the result)
- Generic problem: after decode and rewrite "a?b?c": which '?' was the path?query seperator?
- Possible solution: only decode printable characters (without '?'), and encode the result; do not encode the '%' of a not decoded character.
- Still a problem with path simplifying, it seems many people use urls like this: http://server1/http%3a//server2/xxx
and rewrite the path into the querystring.
- Probably only usable with an extra config option
=> Do NOT use rewrite/redirect to protect specific urls.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2362 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
454aefc51a
[cmake] Add basic cmake support
...
- Not distributed yet (so only available in svn checkout)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2359 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
34172dfb09
[tests] Fix tests/mod-compress.conf distribution
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2358 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
c6c2bf8308
- Add possibility to disable methods in mod_compress ( #1773 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9
15 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
124d8cd555
Fix make dist (remove dummydir)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2293 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
24804542d2
[tests] fix skip in mod-rewrite
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2284 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
3cb2c1c39c
[tests] Added env var TESTS to select only a subset of tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2279 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
5547928112
Decode url before matching in mod_rewrite ( #1720 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2278 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
2bd973108d
[tests] remove env TODO test: don't use undefined env vars
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2244 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
cbd40dc44b
[tests] Remove pidfile from test system
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2242 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0b257bcefa
[tests] Fixed test system, use foreground daemons and waitpid
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2241 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
765d3cbe6a
avoid undefined index triggered by user's php.ini
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2178 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
ead7276368
mark testcase executable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2174 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
ac92ea3616
Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx ( #1639 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2154 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Jan Kneschke
abe8e3613e
added support to run dtruss as TRACEME
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2122 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
0663d67c1a
Fix symlink.t check to run with builddir != srcdir
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2115 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
1431deba81
Add option to configure verbosity of check in commandline: "VERBOSE=1 make check"
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2114 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
52840fa1ed
fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload ( #1440 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2111 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Stefan Bühler
4875c125eb
r2124@chromobil: stefan | 2008-02-27 19:34:57 +0100
...
test procedure: increased select timeout after killing lighttpd to avoid "Address already in use".
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2100 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
Stefan Bühler
8b28023c85
Fix mod-proxy.t to run outside of the srcdir
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2094 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Xuefer
925e96f5ed
fix tests build for scons that has no config.h
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2078 152afb58-edef-0310-8abb-c4023f1b3aa9
15 years ago
Elan Ruusamäe
cde46f6a3d
- support chained proxies in mod_extforward ( #1528 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2061 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
b6d6b82b70
- add test for extforward module
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2044 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
0f2fd1efd8
- add more missing files
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2042 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
1f72c848af
- add missing tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2041 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Elan Ruusamäe
f7dab695cc
- sort
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2040 152afb58-edef-0310-8abb-c4023f1b3aa9
16 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
Jan Kneschke
708f499d75
fixed case-sensitive match of auth-method ( fixes #1456 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2026 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5b2e697cfa
* fixed hanging redirects with keep-alive due to missing
...
"Content-Length: 0" headers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1985 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
8cb24edfd1
- added test case for crash on undefined environment variables
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1975 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
ea872bea37
- added testcase for bug #1322
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1968 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
30748f202c
fixed timestamps for 32bit time_t which wraps at 2038
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1956 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
6719b15c7b
- added missing Makefile.am entries
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1954 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
41e836b410
fixed extracting status code from NPH scripts ( fixes #1125 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1948 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f67cdb67df
fixed handling of duplicate If-Modified-Since to return 304
...
- don't append the second string to the first, but free it instead
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1947 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
5bc539b63e
don't send a Content-Length for 1xx, 204 and 304 ( fixes #1002 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1946 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
9bc4c2a025
added testcases for #1286 and #1287
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1929 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
f0333c8c0d
fixed crash on mixed \r\n and \n sequences
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1925 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
Marcus Rückert
bafcebe06d
- check the content for the send404 case too
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1903 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
2573648c4b
- added testcase for #948
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1901 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
029d32039c
- fixed 404 testsuite
...
- added optional fastcgi handler
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1898 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
984f5caf57
make the cgi executable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1895 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
420abdb295
- added test cases for 404 handler
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1894 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
58ea3c14c5
- make the test more portable
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1892 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
01fab66c18
- added test for the location crash
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1887 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
15e260c28b
* fixed mem-leak in mod_auth (reported by Stefan Esser)
...
* fixed crash with md5-sess and cnonce not set in mod_auth (reported
by Stefan Esser)
* fixed missing check for base64 encoded string in mod_auth and Basic
auth (reported by Stefan Esser)
* fixed possible crash in Auth-Digest header parser on trailing WS in
mod_auth (reported by Stefan Esser)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1875 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
022760f07d
check the URL twice, before and after path-info handling. ( fixes #1230 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1871 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
8b06b122b1
fixed by 1232, not 1209
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1870 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Jan Kneschke
9e4e4f7e1a
fixed remote crash on duplicate header keys with line-wrapping ( fixes #1230 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1869 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert
b8df99f3db
- a few more whitespace cleanups
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1374 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
56de5af1cd
- properly find fastcgi.h in /usr/include/fastcgi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1364 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
30d892061e
merged [1174] and [1224]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1331 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
7d4d819599
merged [1055], [1056], [1068], [1172], [1176]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1286 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
7a6f8ced20
- added missing file symlink.t
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1284 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
3521657508
merged [1105]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1283 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert
657a024d53
- backport symlink patch in hard version to 1.4.11
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1281 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
d5c9873255
merged [1044], [1052], [1054]
...
updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1280 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke
7ac34bb5ca
make the wrapper compatible with solaris' /bin/sh
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1040 152afb58-edef-0310-8abb-c4023f1b3aa9
17 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
18 years ago
Jan Kneschke
0b8de4b3ec
allow leading zeros in HTTP/01.01 ( fixes #542 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1025 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
096ec7f1ca
OPTIONS may have a content-length
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1024 152afb58-edef-0310-8abb-c4023f1b3aa9
18 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
bd8e6919d2
added tests for possible crashes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@974 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
df016dc983
give a warning on duplicate response headers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@952 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6842dbb724
added tests for lowercase filesysytems
...
made mod_access aware of lowercase filesystems
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@948 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
580823f791
forbid Content-Length for GET, HEAD or OPTIONS requests
...
allow duplicate If-Modified-Since headers if they are equal
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@907 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
bab099bca6
updated test as we don't overwrite the Server-Header anymore
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@865 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
151daf933c
added a keep-alive check for pipelining
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@860 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a77f7a90d8
the range-request options was not handled at all, added test case
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@781 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
51d6e2abf0
fixed output of non-cached compressed content and added test-cases
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@779 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
ac7db634f6
detect empty URIs in requests as bad request, status 400
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@773 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
ef8f508a5f
kill warning for string compare introduced by last changeset
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@772 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
809199f98f
scons fixes, and built/test on cygwin
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@771 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
4b7f5b1a3f
the missing part of [757]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@766 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
bb0959bb65
the refer == "" tests are failing even if they should have been fixed already, make them as TODO for the final release
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@764 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
181fed2ab0
let u know what's wrong
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@760 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
1d3da14a5b
make it works for both autotools/scons
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@759 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
9be1abfb85
an unset header is now treat as empty_string "" to make the conditional logic correct.
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@757 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4fc810eb34
this should have been part of [752]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@754 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4005e69bbf
added a check for $HTTP["referer"] == ""
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@753 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
cebb64e47b
added a ssi check for the endless loop we had
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@752 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e95ea21b1e
added a alternative to automake and friends by using scons
...
The main reason is improved built-speed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@734 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Xuefer
14754f33f4
fix and add testcase for #255
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@716 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
4e7ffb3a12
added lighttpd.passwd for the mod-auth tests
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@713 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
e2cf5d3094
tests for htpasswd + md5 and referer matching in conditionals
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@711 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
903a007674
allow a stand alone version
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@708 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
cdd1f9547b
a simple connect() on the port is better and faster
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@674 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
6f3e816fba
redirect don't need $tf->{HOSTNAME}
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@672 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
a44e7fc4c4
replace 'localhost' by gethostbyaddr for 127.0.0.1
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@669 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8e742eac4c
minor portability fixes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@668 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
09f5416912
some files aren't shipped anymore
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@667 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
Xuefer
4846d4ed80
the lost part of [240]
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@657 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
b14d500a9e
do a long wait if the lighttpd isn't starting up fast enough
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@647 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
1be36e4013
make 'make distcheck' happy and install files into _build/tests/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@645 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
849cbb728e
create empty files for mimetype testing
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@644 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7d4f64c476
don't set a global uri-prefix and added checks ( fixes #235 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@641 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
15b0109071
run tests in build root (merged #228 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@640 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
0212534554
fixed detection of mimetype on uppercase extensions
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@632 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
98d5982d48
fixe dthe number of tests in mod-secdownload.t
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@627 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
9359e21514
added tests for mod-secdownload
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@623 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
06becfacfc
check that the anti deeplinking via referer matches work
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@617 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3af5f02398
added a basic test for mod-ssi
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@612 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b22c094836
added testcase for header before we-got-content bug
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@604 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
36a9ce4831
added another test for OPTIONS
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@580 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
3a754cb06a
check that the content-type is the CT of the original file
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@570 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
360aba360f
allow _ in env. and var. and optimized matching of conditions
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@529 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d56f19c7d1
checked | to 'else' (merged [316])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@524 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
cd4c324ff2
allow numbers in header-keys
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@523 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
b663fa76bd
fixed testcases
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@521 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
6e78c2c8df
user defined variable, compute on parsing: string+string, int+int, array+array, var+=expression.
...
"include" sub configuration file. (merged ([308], [309], [306], [305])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@520 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
8073d5fe9f
added nested conditionals (merged [298])
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@519 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
ffcc939e1b
Added OPTIONS support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@467 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
94d6a83716
disable duplicate-header-check for now
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@456 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
c57a23b886
added test for duplicate output headers
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@426 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
a2373e71a9
added a test for the 'don't pass Server from the backend server'
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@412 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
aff653fdba
moved to ports of the fastcgi scripts to somewhere else
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@387 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
7bca57bb6b
final fix for testcase and #177
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@378 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
f090899eae
improved debug output
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@377 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
5986add693
Quote ETag, fixes #117
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@376 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke
d185991460
fixed checks for the digest-crash
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@375 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago