Commit Graph

436 Commits (dccb266a39924b01563d3d08e1e21c8694cc6c94)

Author SHA1 Message Date
Jan Kneschke dccb266a39 improved error-msg and fixed invalid read from uninit memory
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@727 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-22 08:24:08 +00:00
Jan Kneschke 519788686c removed the if (ISREG || ISDIR) as we need the sce set if we return HANDLER_GO_ON
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@726 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-22 08:00:28 +00:00
Jan Kneschke 6fa5bb1138 only cleanup conditional contextes which are already setup
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@725 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 17:14:00 +00:00
Jan Kneschke eacec21ab5 replace i by j to fix a segfault in the error-msg and improved the error-msg (fixed #281)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@724 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 16:50:27 +00:00
Jan Kneschke f5ca9798df only get a buffer if we really need it (fixed #280)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@723 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 16:41:23 +00:00
Jan Kneschke 09a26806f4 fixed segfault if no global mysql-vhost-config was set (fixes #268)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@722 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 11:14:42 +00:00
Jan Kneschke 89ff779a78 302 is used for Location: redirects in SCGI, FastCGI and CGI which might contain content
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@721 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-21 10:45:26 +00:00
Jan Kneschke c8a9649287 include <sys/select.h> if available (fixes #264, #275)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@720 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 15:57:48 +00:00
Jan Kneschke 0d8585137f added the rest of the DeltaV methods
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@719 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 15:45:10 +00:00
Jan Kneschke 56f637b885 removed unusued variables
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@718 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 15:44:52 +00:00
Jan Kneschke 4b025512d8 added REPORT for webdav/svn
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@717 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 07:18:40 +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 4f1b2f8ca0 add dirlisting needs pcre
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@715 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-19 13:13:16 +00:00
Jan Kneschke f679dba35d fixed typos
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@714 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-19 08:51:34 +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 95dfbca5af updated docs and news about md5 support in htpasswd
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@712 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-16 12:45:15 +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 be5f187d0f added support for md5 and blowfish passwords (fixes #73)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@710 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-16 10:40:45 +00:00
Jan Kneschke dce84f26e1 prepare for the release of 1.4.4
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@709 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 16:59:51 +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 af73bcb9fc added docs for the new options and fixed docs about /prefix/ handling (fixes #202)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@707 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 16:58:23 +00:00
Jan Kneschke 119c0da37c the last header line is parsed again and X-LIGHTTPD-send-file was added.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@706 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 13:55:06 +00:00
Jan Kneschke 9d93d78b8e handle mod_secdownload similar to mod_alias: create the physical path yourself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@705 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 12:47:47 +00:00
Jan Kneschke 88c96e46a0 stipped data. from chunk structure (belongs to the last changeset)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@704 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 10:43:00 +00:00
Jan Kneschke 63dceeb0c6 open files only once for chunk, cache mmap and let the chunk itself close the fd (fixed #261, #257)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 08:00:33 +00:00
Jan Kneschke b795fd36c0 fixed hashing function to only generate unsigned values (fixes #251)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@702 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:27:13 +00:00
Jan Kneschke b3a8abd09d added the same check-local behaviour as in mod_fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@701 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:12:21 +00:00
Jan Kneschke 74a71a2ff8 exported splaytree_size
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@700 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:10:25 +00:00
Jan Kneschke 7113a665b3 improved error messages
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@699 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 07:09:52 +00:00
Xuefer 3006dd11c5 add variable var.PID for use in config file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@698 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-12 12:21:34 +00:00
Jan Kneschke 38b8743af3 - don't keep the full fastcgi response in memory
- don't cache more than 4 chunks in a queue for reuse
- on chunkqueue_reset, clean the chunks


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@696 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 10:00:32 +00:00
Jan Kneschke 57ed250138 don't assume the relpath is really set (merge from #120)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@695 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:57:55 +00:00
Jan Kneschke 4b63eae57d fixed crash in SIGINT handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@694 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:55:45 +00:00
Jan Kneschke d00bb524f7 improve error-reporting (should fixed the Success 5 0 0 messages)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@693 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-08 09:55:23 +00:00
Jan Kneschke 6b63deb241 fixed example
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@692 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-07 07:33:15 +00:00
Jan Kneschke 9209f7e8bd fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@691 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-07 07:32:29 +00:00
Jan Kneschke 0f9a82bd0e only enable fastcgi if necessary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@690 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-06 10:07:36 +00:00
Jan Kneschke b9623d6fd2 try pkg-config for lua if all other tests fail (fixed #247, #254, #209)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@689 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-06 09:48:17 +00:00
Xuefer 68f009a99f make default of sort to work
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@688 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-05 17:04:29 +00:00
Xuefer 730ce9e9dd don't crach in error message for auth.require->method
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@687 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-05 13:45:53 +00:00
Jan Kneschke 51ab2d8a02 added reload
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@686 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 09:36:44 +00:00
Xuefer b37a95855f fix bug triggered by [680]. reset "used"
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@685 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 03:08:13 +00:00
Xuefer 949ab7685e stupid SEGV introduced in [679]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@684 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-03 03:06:26 +00:00
Jan Kneschke d0c12ea533 when ever we have content-length we have to forward it.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@683 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:34:06 +00:00
Jan Kneschke 603d6ace1d don't try to guess, do a read check if we can open it.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@682 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:24:17 +00:00
Jan Kneschke 52125c82b8 check that we can really read the file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@681 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:30 +00:00
Jan Kneschke 326fa40875 compail about the right plugin and don't segfault
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@680 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 17:07:00 +00:00
Xuefer 363301ccf3 added 'V' for HTTP_HOST, updated default accesslog format.
able to log all method supported by lighttpd.
cleanup (and possibly be faster) a bit by b=p->conf.access_logbuffer.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@679 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 16:09:42 +00:00
Jan Kneschke 5ae22303f4 fixed last-modified handling and handle absolute path names correctly (fixed #244)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@678 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 13:30:44 +00:00
Jan Kneschke 286b6100a4 moved the etag.h to the right file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@677 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-02 12:38:42 +00:00