Commit Graph

1018 Commits

Author SHA1 Message Date
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 365971bbf4 - US-ASCII for sake of trac
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2038 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 01:02:00 +00:00
Elan Ruusamäe 1f68a04110 - prevent crash in certain php-fcgi configurations (#841)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2037 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 01:00:32 +00:00
Elan Ruusamäe 513057ebd4 - fix also scgi and proxy modules. #1489
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2035 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 00:26:12 +00:00
Elan Ruusamäe 95769fb3f6 - Print error if X-LIGHTTPD-send-file cannot be done; reset header Content-Length for send-file.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2034 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-16 00:19:54 +00:00
Elan Ruusamäe bdd2fce478 - fixed a bug that made /-prefixed fcgi extensions being handled also when matching the end of the uri (#1489)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2030 152afb58-edef-0310-8abb-c4023f1b3aa9
2008-01-15 23:20: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
Elan Ruusamäe 12bf15dd4e - note change
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2024 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-12 16:04:13 +00:00
Elan Ruusamäe b0f37b9c50 - use execv() directly to fcgi app if used as argument. resolves #1428
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2023 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-12 16:02:47 +00:00
Elan Ruusamäe 68ebed3753 - typo
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2021 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-10 16:49:55 +00:00
Elan Ruusamäe 9ab9f176d2 - apply patches from #1384
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2020 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-10 16:12:55 +00:00
Elan Ruusamäe aab9a99a11 - merge from trunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2019 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-05 09:13:26 +00:00
Elan Ruusamäe ae821c925a - include SConstruct in tarball
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2016 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-05 09:02:39 +00:00
Elan Ruusamäe 17fa057dff - update
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2013 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-04 17:21:24 +00:00
Elan Ruusamäe d6b9709b54 - support for matching $HTTP["scheme"] in configs, patch from:
http://trac.lighttpd.net/trac/wiki/HowToRedirectHttpToHttps
  apparently by swiergot/at/gmail.com, adjusted for current svn.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2012 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-11-04 16:53:17 +00:00
Jan Kneschke cb0f21c745 added support for If-Range: <date> (fixes #1346)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2000 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 23:00:53 +00:00
Marcus Rückert 1b6b361b66 - next is 1.4.19
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1998 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 21:31:27 +00:00
Marcus Rückert d85f4293a4 - updated NEWS file for the last change
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1996 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 18:41:20 +00:00
Jan Kneschke 46e1ca19cc use strchr() instead of index() as it is POSIX
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1994 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-09 11:57:46 +00:00
Marcus Rückert 7ce73896b7 - handle errors from the fcgi packet construction and return 400 if we have an error.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1993 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-07 23:24:28 +00:00
Jan Kneschke 5c333340be free the buffers after the printed them in the error-msg
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1989 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-06 21:36:38 +00:00
Marcus Rückert a3dcc8b505 - fixed crash with undefined environment variables
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1987 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-06 21:19:25 +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
Jan Kneschke eaed2f1e50 added some extra protection to make sure key-len and val-len don't
overrun


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1984 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-05 11:28:35 +00:00
Jan Kneschke 34b3ee0228 fixed FastCGI header overrun in mod_fastcgi
(reported by mattias@secweb.se)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1983 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-05 11:22:32 +00:00
Jan Kneschke e0629883a9 * fixed forwarding a SIGINT and SIGHUP when using max-workers (#902)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1982 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-05 10:39:56 +00:00
Jan Kneschke b333dd7efa added a first version of the lighttpd-angel process
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1981 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-02 22:23:53 +00:00
Jan Kneschke 29fdd34abd fixed compile error on IRIX 6.5.x on prctl()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1980 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-09-02 19:48:47 +00:00
Marcus Rückert 66c4c8f1dd - next ist 1.4.18
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1978 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-29 00:49:56 +00:00
Marcus Rückert d4f02c657a - updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1976 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-29 00:30:16 +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 f2c8fb6eca - dont crash if the mod_alias config cant be parsed properly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1974 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-28 22:39:30 +00:00
Marcus Rückert 523336eb66 - added note about bug #1322
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1972 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-27 21:56:14 +00:00
Marcus Rückert 15d8378422 - make sure the etag buffer is non empty if we compare it with if-non-match
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1971 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-27 21:54:45 +00:00
Jan Kneschke 53634de06f protect buffer_is_empty() from NULL buffers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1969 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-27 21:49:08 +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 f7df9a9ecd MYSQL_OPT_RECONNECT is available from 5.0.13 on (fixes #1309)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1965 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-23 12:02:20 +00:00
Jan Kneschke 1e1a8e5907 use HAVE_SYS_PRCTL_H as HAVE_PRCTL is not checked for
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1958 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-21 23:35:08 +00:00
Jan Kneschke ef19bacae8 added sending UID and PID for SIGTERM and SIGINT to the logs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1957 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-21 17:40:03 +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 470d32b803 - added AM_PROG_CC_C_O as suggested by autotools
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1955 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-21 11:02:31 +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 51826fc05c renamed ltostr() to LI_ltostr() to fix compile on HP/UX (fixes #465)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1951 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18 12:25:52 +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 c4e3150283 fixed possible overflow in unix-socket path checks on BSD (#713)
- use sizeof(sun_path) instead of UNIX_PATH_MAX which might not be
  defined


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1944 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18 09:44:08 +00:00
Jan Kneschke f978d992df use public API instead of patching the cond-cache ourself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1943 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18 09:43:35 +00:00