Commit Graph

101 Commits

Author SHA1 Message Date
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
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 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 3940c60e68 fixed aggressive caching of conditionals (#41)
$HTTP["url"] =~ "" { cgi.assign = ... } fails if there is a module
loaded which is called before uri_clean is set (mod_exforward,
mod_rewrite, ...) 

- merged [1792], [1798], [1807], [1810], [1811] from trunk


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1942 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-18 09:27:11 +00:00
Jan Kneschke 7d2665843f fixed counter overrun in ?auto in mod_status (#909)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1941 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 23:35:26 +00:00
Jan Kneschke e745fd6a12 added more debug output if FAM fails to monitor a dir (for #824)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1940 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 23:19:17 +00:00
Jan Kneschke 0177a96f5d fixed endless loop on shrinked files with sendfile() on BSD
- merged the shrinked file handling from linux-sendfile


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1933 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 22:18:18 +00:00
Jan Kneschke 9bc4c2a025 added testcases for #1286 and #1287
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1929 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 21:50:05 +00:00
Jan Kneschke f0333c8c0d fixed crash on mixed \r\n and \n sequences
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1925 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 21:04:20 +00:00
Elan Ruusamäe 4ac0e2dd1b - update NEWS
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1922 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-17 06:44:03 +00:00
Jan Kneschke e8abdbf94e don't compress too small files (fixes #1241)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1918 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-15 12:12:13 +00:00
Jan Kneschke bbd42c4e03 added dir-listing.set-footer = <string> to set a footer under the
dirlisting (fixes #1277)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1911 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-15 11:16:53 +00:00
Jan Kneschke 41271d5cf6 make sure that hash-function always uses a 32bit int (fixes #1279)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1908 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-15 09:49:15 +00:00
Marcus Rückert dac6d449dd - backported fix from trunk
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1900 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-08-13 11:26:06 +00:00
Jan Kneschke 8f9f532083 * fixed crash on 32bit archs when debug-msgs are printed in mod_scgi,
mod_fastcgi and mod_webdav (#1263)



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1882 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-07-17 18:02:33 +00:00
Marcus Rückert abdd1f5b45 - do not check stale values on errno. EAGAIN is handled inside the
function already. (#1245)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1879 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-07-02 15:07:27 +00:00
Jan Kneschke 15e260c28b * fixed mem-leak in mod_auth (reported by Stefan Esser)
* fixed crash with md5-sess and cnonce not set in mod_auth (reported
  by Stefan Esser)
* fixed missing check for base64 encoded string in mod_auth and Basic
  auth (reported by Stefan Esser)
* fixed possible crash in Auth-Digest header parser on trailing WS in
  mod_auth (reported by Stefan Esser)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1875 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 16:22:30 +00:00
Jan Kneschke b2a96c959a added static-file.etags, etag.use-inode, etag.use-mtime,
etag.use-size to customize the generation of ETags for 
static files. (fixes #1209) (patch by <Yusufg@gmail.com>)



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1874 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:51:16 +00:00
Jan Kneschke d12d86d777 if we open more connections than we define with ulimit we might run
into a assert() in fdevent.c, try to limit the number of opened
connections before hand


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1873 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:30:34 +00:00
Jan Kneschke 768a0d0eab fixed type-cast for NULL in execl() (fixes #1235), fix provided by Frank
DENIS


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1872 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-06-15 15:04:56 +00:00
Elan Ruusamäe 374741e21c - revert. already there
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1778 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-17 05:58:15 +00:00
Elan Ruusamäe 0f8836c082 - CVE references
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1777 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-17 05:56:22 +00:00
Jan Kneschke 2fcc885f3a fixed duplicate headers as reported in the blog
- this is a partial revert of [1723]


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1767 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-13 20:47:40 +00:00
Marcus Rückert 5b22a9e910 - prepare 1.4.15
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1766 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-13 20:41:14 +00:00
Marcus Rückert ac959d3374 - updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1764 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-13 15:24:09 +00:00
Jan Kneschke aab9e92a63 * fixed compilation in network_writev.c on MacOS X 10.3.9 (fixes #903)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1744 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 16:15:21 +00:00
Marcus Rückert 63344d9c7e - updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1742 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 13:32:24 +00:00
Jan Kneschke dadc835cd4 forgot the comment on #1076
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1740 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 11:44:03 +00:00
Marcus Rückert e1ac86419d - added missing news entry
- bumped version number

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1737 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 08:50:39 +00:00
Jan Kneschke 7f5aabdaaf * fixed possible crash in debug-message in mod_extforward
* fixed compilation of mod_extforward on glibc < 2.3.4



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1736 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 08:47:30 +00:00
Jan Kneschke aa37da4745 - fixed crash on url.redirect and url.rewrite if %0 is used in a
global context (fixes #800)



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1735 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 07:52:58 +00:00
Jan Kneschke dfa9f48b0f ECONNABORTED is not known on cygwin (fixes #863)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1734 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 20:31:03 +00:00
Jan Kneschke fff10e1d1a reduced default PATH_MAX to 255 (fixes #826)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1733 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 20:27:19 +00:00
Jan Kneschke 8fca20187e fixed conditional dir-listing.exclude (fixes #930)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1732 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 20:22:41 +00:00
Jan Kneschke 642247c353 - fixed various crashes at startup on broken accesslog.format strings
(fixes #1000)
- fixed handling of %% in accesslog.format



git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1731 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 19:58:57 +00:00
Jan Kneschke 40e19e481c added note about #1064
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1730 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 19:20:29 +00:00
Jan Kneschke 7d4086647a added comment on #1098
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1728 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:57:04 +00:00
Jan Kneschke 54fa094d94 updated NEWS for the latest two fixes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1726 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:41:42 +00:00
Marcus Rückert f0390806b4 - updated NEWS file
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1719 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-29 19:48:57 +00:00
Elan Ruusamäe 61f1dabd5f - obfuscate email addreses
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1708 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-07 19:36:25 +00:00
Elan Ruusamäe 45e753df31 - added NEWS entries from http://trac.lighttpd.net/trac/log/branches/lighttpd-1.4.x until [1392]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1707 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-07 19:31:10 +00:00
Elan Ruusamäe 54d2d211f8 - record mod_extforward inclusion fact
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1666 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 21:11:02 +00:00
Marcus Rückert d3480284c3 - updated NEWS
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1390 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-09 21:36:29 +00:00
Jan Kneschke 31dc9ac77f last changes before the release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1389 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-09 21:33:23 +00:00
Jan Kneschke 9a49269981 updated fixed tickets for the pre-release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1384 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 17:35:24 +00:00