Commit Graph

214 Commits (82bee8d5c38b7773eb8e1531142aaeb595cb118c)

Author SHA1 Message Date
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
2009-02-10 19:47:15 +00:00
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
2009-02-04 10:27:42 +00:00
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
2008-12-07 15:22:42 +00:00
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
2008-12-05 22:30:32 +00:00
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
2008-12-05 22:27:51 +00:00
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
2008-10-03 10:05:33 +00:00
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
2008-10-01 20:08:23 +00:00
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
2008-08-20 10:12:20 +00:00
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
2008-08-19 00:11:52 +00:00
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
2008-08-02 16:24:33 +00:00
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
2008-08-02 16:24:31 +00:00
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
2008-07-30 17:40:09 +00:00
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
2008-07-29 21:22:36 +00:00
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
2008-07-29 21:22:28 +00:00
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
2008-07-29 21:22:13 +00:00
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
2008-07-29 21:21:34 +00:00
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
2008-05-22 06:50:01 +00:00
Xuefer ead7276368 mark testcase executable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2174 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-05-22 06:25:54 +00:00
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
2008-04-23 19:45:05 +00:00
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
2008-04-23 19:10:42 +00:00
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
2008-03-10 19:14:05 +00:00
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
2008-03-02 12:59:54 +00:00
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
2008-03-02 12:59:36 +00:00
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
2008-03-01 19:10:47 +00:00
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
2008-02-27 18:36:01 +00:00
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
2008-02-27 18:35:42 +00:00
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
2008-02-26 19:13:55 +00:00
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
2008-02-25 06:56:48 +00:00
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
2008-01-21 08:21:20 +00:00
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
2008-01-17 09:50:17 +00:00
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
2008-01-16 16:07:10 +00:00
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
2008-01-16 16:04:16 +00:00
Elan Ruusamäe f7dab695cc - sort
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2040 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 16:01:23 +00:00
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
2008-01-15 22:03:59 +00:00
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
2007-11-23 15:23:35 +00:00
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
2007-09-06 11:24:20 +00:00
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
2007-08-28 23:11:56 +00:00
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
2007-08-27 21:48:53 +00:00
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
2007-08-27 21:10:01 +00:00
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
2007-08-21 15:05:50 +00:00
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
2007-08-21 10:56:01 +00:00
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
2007-08-18 11:35:27 +00:00
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
2007-08-18 11:14:12 +00:00
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
2007-08-18 10:40:20 +00:00
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
2007-08-17 21:50:05 +00:00
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
2007-08-17 21:04:20 +00:00
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
2007-08-17 15:36:00 +00:00
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
2007-08-14 13:12:10 +00:00
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
2007-08-13 14:34:50 +00:00
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
2007-08-13 11:09:11 +00:00
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
2007-08-12 21:06:07 +00:00
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
2007-08-12 21:04:14 +00:00
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
2007-08-12 19:24:33 +00:00
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
2007-08-12 17:52:03 +00:00
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
2007-06-15 16:22:30 +00:00
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
2007-06-15 14:46:17 +00:00
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
2007-06-15 14:15:37 +00:00
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
2007-06-15 14:08:32 +00:00
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
2006-10-05 00:09:51 +00:00
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
2006-10-03 22:22:47 +00:00
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
2006-09-21 14:48:46 +00:00
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
2006-09-07 12:28:48 +00:00
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
2006-09-07 11:33:21 +00:00
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
2006-09-07 11:11:30 +00:00
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
2006-09-07 11:00:02 +00:00
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
2006-09-07 10:32:13 +00:00
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
2006-03-09 15:35:51 +00:00
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
2006-03-09 13:36:57 +00:00
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
2006-03-06 14:50:48 +00:00
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
2006-03-04 17:10:47 +00:00
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
2006-03-04 17:10:13 +00:00
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
2006-03-04 17:09:52 +00:00
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
2006-02-01 11:35:08 +00:00
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
2006-01-14 18:38:15 +00:00
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
2006-01-14 17:47:17 +00:00
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
2006-01-03 13:59:46 +00:00
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
2006-01-03 12:54:32 +00:00
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
2005-11-18 13:27:47 +00:00
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
2005-11-18 12:00:24 +00:00
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
2005-10-05 10:40:00 +00:00
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
2005-10-04 09:25:29 +00:00
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
2005-10-02 21:50:51 +00:00
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
2005-10-01 12:47:52 +00:00
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
2005-10-01 12:35:55 +00:00
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
2005-09-30 11:06:43 +00:00
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
2005-09-30 08:53:42 +00:00
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
2005-09-29 17:07:22 +00:00
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
2005-09-29 17:06:47 +00:00
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
2005-09-29 14:42:35 +00:00
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
2005-09-29 13:31:12 +00:00
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
2005-09-29 13:30:25 +00:00
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
2005-09-29 13:29:44 +00:00
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
2005-09-24 12:07:57 +00:00
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
2005-09-20 05:54:19 +00:00
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
2005-09-18 09:29:02 +00:00
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
2005-09-16 12:44:29 +00:00
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
2005-09-14 16:59:30 +00:00
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
2005-09-01 13:24:19 +00:00
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
2005-09-01 12:10:59 +00:00
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
2005-09-01 11:55:03 +00:00