Commit Graph

92 Commits

Author SHA1 Message Date
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