summaryrefslogtreecommitdiff
path: root/tests/request.t
AgeCommit message (Collapse)AuthorFilesLines
2018-09-23[core] http_status_append()Glenn Strauss1-4/+4
2018-08-12[core] security: use-after-free invalid Range reqGlenn Strauss1-1/+21
(thx Marcus Wengelin)
2018-08-05[tests] test_request unit testsGlenn Strauss1-87/+1
unit tests for request processing collect existing request processing tests from Perl tests/*.t (test_request.c runs *much* more quickly than Perl tests/*.t)
2018-01-13[core] fix POST with chunked request body (fixes #2854)Glenn Strauss1-1/+17
(thx the_jk) x-ref: "chunked transfer encoding in request body only works for tiny chunks" https://redmine.lighttpd.net/issues/2854
2017-01-31[core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, ↵Glenn Strauss1-2/+9
#2438) support Expect: 100-continue with HTTP/1.1 requests Ignore config option server.reject-expect-100-with-417; server.reject-expect-100-with-417 will be removed in a future release. x-ref: "Incorrect handling of the 100 (Continue) Status" https://redmine.lighttpd.net/issues/377 "'Expect' header gives HTTP error 417" https://redmine.lighttpd.net/issues/1017 "Improve DAV support to be able to handle git as a client" https://redmine.lighttpd.net/issues/1953 "Change server.reject-expect-100-with-417 from flag to regular expression matching the URL" https://redmine.lighttpd.net/issues/2438
2016-12-16[core] support Transfer-Encoding: chunked req body (fixes #2156)Glenn Strauss1-1/+116
support Transfer-Encoding: chunked request body in conjunction with server.stream-request-body = 0 dynamic handlers will still return 411 Length Required if server.stream-request-body = 1 or 2 (!= 0) since CGI-like env requires CONTENT_LENGTH be set (and mod_proxy currently sends HTTP/1.0 requests to backends, and Content-Length recommended for robust interaction with backend) x-ref: "request: support Chunked Transfer Coding for HTTP PUT" https://redmine.lighttpd.net/issues/2156
2014-01-10[tests] add cleanup.sh to cmake test runs, reset SLOWREQUEST in request.tStefan Bühler1-0/+1
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2932 152afb58-edef-0310-8abb-c4023f1b3aa9
2012-11-21tests: check different combination of empty values, leading/trailing spaces ↵Stefan Bühler1-1/+57
and commas in the Connection header git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2859 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-08-30Add static-file.disable-pathinfo option to prevent handling of urls like ↵Stefan Bühler1-1/+17
.../secret.php/image.jpg as static file git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2803 152afb58-edef-0310-8abb-c4023f1b3aa9
2011-04-04two additional test cases for absolute http(s) uris in the request lineStefan Bühler1-1/+16
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2787 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-11-29Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)Stefan Bühler1-1/+10
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2696 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-06-11Ignore multiple "If-None-Match" headers (only use first one, fixes #753)Stefan Bühler1-1/+1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2528 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-04-23Allow all http status codes by default; disable body only for 204,205 and ↵Stefan Bühler1-1/+1
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-01-15- change s/// separator that it doesn't confuse vimElan Ruusamäe1-4/+4
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2027 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-21fixed timestamps for 32bit time_t which wraps at 2038Jan Kneschke1-6/+6
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1956 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18fixed handling of duplicate If-Modified-Since to return 304Jan Kneschke1-4/+4
- 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-18don't send a Content-Length for 1xx, 204 and 304 (fixes #1002)Jan Kneschke1-1/+9
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1946 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17added testcases for #1286 and #1287Jan Kneschke1-2/+35
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1929 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-05- a few more whitespace cleanupsMarcus Rückert1-1/+1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1374 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-04OPTIONS may have a content-lengthJan Kneschke1-1/+1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1024 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-02-01added tests for possible crashesJan Kneschke1-1/+9
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@974 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-03forbid Content-Length for GET, HEAD or OPTIONS requestsJan Kneschke1-1/+39
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
2005-10-05the range-request options was not handled at all, added test caseJan Kneschke1-1/+9
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@781 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-01find perl at runtimeJan Kneschke1-1/+1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@670 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-31added tests for keep-alive and setenv and passed a ARRAY ref instead of a ↵Jan Kneschke1-29/+29
HASH ref git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@654 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-26switch to LigtyTest modulelighttpd-1.3.14Jan Kneschke1-0/+6
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@394 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-06-15Unified all tests to use the LighyTest framework Jan Kneschke1-261/+83
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@388 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-03-02seperated the tests for each section and let run-tests.pl use Test::HarnessJan Kneschke1-0/+470
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@72 152afb58-edef-0310-8abb-c4023f1b3aa9