Commit Graph

426 Commits (96ffed78c31c7804c5418aa8768d570dc6e07653)

Author SHA1 Message Date
Jan Kneschke 96ffed78c3 added handling of If-Range
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@909 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 94334e46b2 1x INT == graceful shutdown
2x INT == hard shutdown


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@908 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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
17 years ago
Jan Kneschke 4c91a14c4d added a static target to scons which compiles lighttpd staticly (incl. mod_access as test)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@903 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke b789ce87a1 remove zombies again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@902 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 8f871d4f04 fixed empty Host: for mod_proxy (finally)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@901 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke b85fb3b41d fix logfile spamming on conn-refused and friends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@900 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke e2f4ccd343 added internals for the statistics framework
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@899 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 44cef4913a added the power-magnet to mod_cml
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@898 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke ed6f81da16 fixed config option
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@897 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke f9e91971ac added mod_evasive to limit the number of connections by IP (<w1zzard@techpowerup.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@896 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ae4a4143d6 improved error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@894 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1ea90be00a fixed counting of unused blocks (sandy <sandy@meebo.com>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@893 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6e193e4040 make AIX happy and include fcntl.h instead of sys/fcntl.h (fixes #417)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@892 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a39e5713d5 show HEADER.txt if it exists (fixes #246) (<mnag@FreeBSD.org>)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@891 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 33101e2057 include content-type in HTML too
- fixes #365 (patch from sniper@php.net)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@890 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2fe31be5c5 - next release is 1.4.9
- added checks for prctl to enable core files after setuid() <sandy@meebo.com>


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@889 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 70436a8805 used the wrong type for the configfile handling
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@888 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke d35482ee9a fixed typo (and next time I should at least compile before commiting)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@886 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 3faefdbaf1 don't crash if Host: is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@885 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4de36723c0 cleanup the connection-internals at the end of the of the response and not at the end of the connection
- fixed 100% loops and error-log messages for mod_cgi ("sandy" <sjen@cs.stanford.edu>)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@884 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 052f83e095 take the right docroot if simple-vhost is used for MOVE/COPY operations (fixes #389)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@883 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 780bc91ffe improved the error-msgs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@882 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d2a0ff6dc fixed server-based traffic shaping if connection limit is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@879 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke b9b8a46f40 allow to bind the server to a unix-domain socket
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@878 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 269ccc70c8 in case the length is 0 don't decrement the lenght
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@877 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2d7b1e0227 improved error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@876 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 478cb34bb3 reverted last patch as open + fstat() results in a hang on named-pipes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@875 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 11c3722432 set content-type for errorfiles (fixed #383)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@874 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4561af582d fixed 64bit printf() for size_t
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@873 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d8758598f - init FAM after fdevent-backend is up
- open + fstat instead of stat + open for speed reasons
- only init FAM if requested by config


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@872 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke ad7d85b7f5 fixed possible overflow in password-salt handling
(reported on slashdot by james-web@and.org)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@871 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 2cc4f96765 fixed streaming cgi output (like cgi-irc)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@870 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke e9e05e3b03 fixed typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@868 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f54cf620f1 suppress the 'using default-vhost' message by default
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@867 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 93ba0f958e fixed unsigned/signed compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@866 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 230e670078 check if we need -ldl to get dlopen
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@864 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 971dc42657 link all the files to mod_cml
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@863 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 93693b11e0 - don't duplicate Server and Date Header
- strip Connection header from backend response if we are proxy
- trust Connection-Length if we are proxy


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@862 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke a4be52451f more unsigned/sign compare fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@861 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 6db887ad3c added lua compile option
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@859 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 1375a63a82 fixed ranges for the unsigned fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@858 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 62d8d1ef53 fixed md5 on 64bit platforms
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@856 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 60ccbd89f7 fixed unsigned compares
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@855 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke aa7e634b75 fixed assertion if a read() returned with EGAIN in POST-read
and fixed pipelining + keep-alive


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@854 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 7d46051907 don't take all max-fds as solaris needs some fds for devpoll
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@853 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 4d5dd7fe4d don't try to encode a empty uri.path
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@852 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f0583d8b73 fixed unsigned compare
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@851 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 0c6af9ae46 improved warning-message
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@850 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke f35df44d00 added ldap-support to scons-build for mod_auth
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@849 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago