Commit Graph

283 Commits

Author SHA1 Message Date
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
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
2005-09-01 11:54:39 +00:00
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
2005-09-01 11:44:57 +00:00
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
2005-09-01 11:12:05 +00:00
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
2005-09-01 10:33:48 +00:00
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
2005-09-01 09:08:43 +00:00
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
2005-08-31 23:00:04 +00:00
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
2005-08-31 13:57:09 +00:00
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
2005-08-31 12:55:44 +00:00
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
2005-08-29 14:12:31 +00:00
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
2005-08-29 13:43:46 +00:00
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
2005-08-29 12:42:06 +00:00
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
2005-08-29 12:26:25 +00:00
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
2005-08-29 12:08:00 +00:00
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
2005-08-27 16:35:57 +00:00
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
2005-08-27 14:57:20 +00:00
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
2005-08-27 14:15:51 +00:00
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
2005-08-25 20:09:14 +00:00
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
2005-08-24 07:22:03 +00:00
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
2005-08-23 07:55:19 +00:00
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
2005-08-21 23:12:56 +00:00
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
2005-08-19 11:13:43 +00:00
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
2005-08-18 09:28:11 +00:00
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
2005-08-17 09:52:16 +00:00
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
2005-08-09 06:42:33 +00:00
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
2005-08-08 17:25:55 +00:00
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
2005-08-08 16:34:49 +00:00
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
2005-08-08 16:32:17 +00:00
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
2005-08-08 16:14:25 +00:00
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
2005-08-08 14:40:47 +00:00
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
2005-08-08 13:48:33 +00:00
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
2005-07-28 10:24:49 +00:00
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
2005-07-21 20:59:30 +00:00
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
2005-07-15 18:11:38 +00:00
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
2005-07-07 09:18:53 +00:00
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
2005-06-28 17:25:35 +00:00
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
2005-06-26 10:27:41 +00:00
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
2005-06-15 09:37:18 +00:00
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
2005-06-15 09:36:27 +00:00
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
2005-06-12 09:18:17 +00:00
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
2005-06-12 09:17:04 +00:00
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
2005-06-12 09:09:28 +00:00
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
2005-06-11 09:02:34 +00:00
Jan Kneschke 4d33902639 merged [373]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@374 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-06 21:21:37 +00:00
Jan Kneschke 5056731095 using 127.0.0.1 is fine for all systems
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@362 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-04 13:51:37 +00:00
Jan Kneschke cee3c0d880 added tests for mod-proxy
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@351 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-05-10 18:48:59 +00:00
Jan Kneschke 510b536669 replaced IP address for fastcgi.server to localhost
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@349 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-05-08 06:22:55 +00:00
Jan Kneschke 6925cdcf49 removed duplicate variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@290 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-04-20 16:35:34 +00:00
Jan Kneschke 659503eb16 fixed check for running process
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@103 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-06 11:51:14 +00:00
Jan Kneschke 8810ff2602 drop unused files and added the checks for mod-rewrite
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@99 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-06 11:22:14 +00:00
Jan Kneschke a9f7841379 2 rewrite tests
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@92 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-04 18:38:46 +00:00
Jan Kneschke b41aa700ab check that conditionals and simple-vhost work together
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@91 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-04 13:10:35 +00:00
Jan Kneschke f91a8d8f63 forgot to count one test
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@86 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 23:33:18 +00:00
Jan Kneschke 547cfb1a1c skip fastcgi checks if fastcgi-proc is not available
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@81 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-03 11:35:27 +00:00
Jan Kneschke 9a5cf4a2ed fixed handling of dead fastcgi processes if deamonized
fixed handling of dead fastcgi process which sent their SIGCLD to
  initd and not to lighttpd. Moving the daemonize before starting
  the fastcgi procs fixes this.



git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@74 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 13:49:08 +00:00
Jan Kneschke 40e8c6714a seperated the tests for each section and let run-tests.pl use Test::Harness
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@72 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02 11:27:02 +00:00
Jan Kneschke 422275e60a get make distcheck working
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@69 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 23:28:21 +00:00
Jan Kneschke 5ca4dff14d added tests for restarting fcgi-procs after they died
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@64 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 16:57:24 +00:00
Jan Kneschke 2420fd96d2 added checks for the line-terminator handling and cleanup the configs
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@62 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 13:37:40 +00:00
Jan Kneschke 0f779ce2f9 fixed #25 by setting all duplicates to 400
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@60 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-01 10:55:47 +00:00
Jan Kneschke 6bf51546c7 converted all tests to run-tests.pl
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@56 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 17:08:05 +00:00
Jan Kneschke 33550d22ff get pidof working on linux
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@51 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-28 09:32:05 +00:00
Jan Kneschke 80140bc32d forgot to rename check.pl to run-tests.pl
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@44 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:13:02 +00:00
Jan Kneschke 9c380cbbde moved most of the tests to run-tests.pl
- more tests
- less code to maintain
- more speed


git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@42 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-27 22:01:13 +00:00
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00