Commit Graph

906 Commits

Author SHA1 Message Date
Jan Kneschke fb816f768b oops, missed one renamed variable if IPv6 is not available
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1738 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-10 09:26:20 +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 3c5c8ef54d fixed accesslog.use-syslog in a conditional and the caching of the
accesslog for files (fixes #1064)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1729 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 19:20:00 +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 76e55e958c strip trailing white-spaces in HTTP-request headers
before we parse them (fixes #1098)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1727 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:55:21 +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
Jan Kneschke 7a30b1f4c5 don't allow caching of file without a content-type
- this solves the early install problems where the user hasn't setup
  fastcgi yet and sends the php-source code out and the browser caches
  the file and it's content


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1725 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:39:29 +00:00
Marcus Rückert 3c40b52929 - send SIGUSR1 to fastcgi apps before SIGTERM
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1724 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:27:59 +00:00
Jan Kneschke a0436cea45 encode newlines in HTTP headers (fixes #1106)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1723 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:12:43 +00:00
Jan Kneschke a1a769ddb5 added possible for the caching of the invalid content-type
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1722 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 18:12:09 +00:00
Jan Kneschke c3476ada45 fixed small mem-leak if auth failed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1721 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 16:58:13 +00:00
Jan Kneschke 5db109e16d cleanup whenever we have a data-struct on this connection
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1720 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-04-09 16:57:54 +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
Jan Kneschke f1f11ba6ad fixed crashed if gethostbyaddr() fails on redirect
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1718 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-26 08:21:39 +00:00
Marcus Rückert 10fbd9e24e - properly handle 206 responses generated by *cgi scripts
closes 755

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1716 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-03-17 19:47:24 +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
Marcus Rückert ba424e2293 - fix the previous commit
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1687 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-21 19:55:16 +00:00
Marcus Rückert b3f333d32e - add HTTPS=on to the environment of cgi scripts (#861)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1684 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-21 19:30:20 +00:00
Marcus Rückert 892ebbe530 - handle 303 [#1045]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1678 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-20 17:25:12 +00:00
Marcus Rückert ac93be76d3 - make the configure check for lua more portable
patch by Jörg Sonnenberger

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1677 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-20 17:09:24 +00:00
Marcus Rückert f8d54c8574 - properly ifdef for dragonflybsd. this should be the last missing chunk
patch by Jörg Sonnenberger

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1676 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-20 17:08:32 +00:00
Elan Ruusamäe 40e8d326d1 - unify style
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1671 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 21:46:50 +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
Elan Ruusamäe f68fd405f4 - add mod_extforward module from wiki
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1665 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 21:05:59 +00:00
Marcus Rückert e61146a740 - applied patch from sh@linux2go.dk (#1039)
References to FAM stat cache engine should be conditional

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1664 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 13:55:07 +00:00
Marcus Rückert acd992cbf1 - applied patch from colin.stephen@o2.com (#1041)
fixes http 500 errors with mod_fastcgi

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1663 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-19 13:52:23 +00:00
Elan Ruusamäe 72ac4ece2e - prevent wrong pidfile unlinking on graceful restart (patch by Chris Webb)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1656 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-17 18:17:00 +00:00
Elan Ruusamäe 1c662e07ba - ignore empty packets from STDERR stream. fixes #998
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1607 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-02-05 13:14:21 +00:00
Marcus Rückert 55a713a1a1 r1557@h2o: darix | 2007-01-14 10:55:33 +0100
- fix a crash for files with an mtime of 0 
   reported by cubiq on irc


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1519 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-01-14 09:58:14 +00:00
Marcus Rückert d471bcc9ca r1553@h2o: darix | 2007-01-14 10:37:14 +0100
- allow empty passwords with ldap.
   patch by Jöerg Sonnenberger


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1516 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-01-14 09:40:02 +00:00
Robert Jakabosky 5d8855bdef commit fix from Ticket #964
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1501 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-01-05 02:57:09 +00:00
Robert Jakabosky db76b98e03 Added round-robin support to mod_fastcgi.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1500 152afb58-edef-0310-8abb-c4023f1b3aa9
2007-01-03 09:46:32 +00:00
Marcus Rückert 4fe6745364 - Handle DragonFlyBSD the same way as Freebsd.
Patch by Jörg Sonnenberger

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1492 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-12-29 05:32:44 +00:00
Elan Ruusamäe 36544e2186 added now and weeks support to mod_expire. close #943
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1478 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-12-19 15:11:04 +00:00
Robert Jakabosky 4f1587c57e If client connection aborts during parse of "\r\n\r\n", then lighttpd never cleans up the
connection and keeps trying to read from the died connection.  lighttpd still responses
to other requests, it just eats up all the cpu trying to handle the died connection.

this commit fixes that problem


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1473 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-12-15 06:13:43 +00:00
Marcus Rückert 4a609547a0 r1435@h2o: darix | 2006-11-10 18:25:42 +0100
"www.example.com." is equivalent to "www.example.com".
 The trailing dot just tells the resolver to script the searchlist.
 
 If we want to match the hostname for conditionals/mod*vhost,
 we need to strip it.
 
 * src/request.c: (request_check_hostname) Decrement host_len to skip
   the trailing dot.
 


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1406 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-11-10 17:37:19 +00:00
Jan Kneschke ad4af113a6 added magnet.txt to the distribution
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1391 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-09 21:38:23 +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
Marcus Rückert 3df7b7421e - added docs for mod_magnet
curl 'http://trac.lighttpd.net/trac/wiki/Docs%3AModMagnet?format=txt' > magnet.txt

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1388 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-09 21:31:13 +00:00
Marcus Rückert 53ab644ead - merged -r1090:1091 => add --with-webdav-locks
- open modules with 'RTLD_NOW|RTLD_GLOBAL'
  this fixes the problems with luafilesystems and missing symbols
- added AC_SUBST(UUID_LIBS)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1387 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-09 13:50:29 +00:00
Jan Kneschke a0aafd9a24 save the old errno of the sendfile() call in case that the attr_get()
fails in stat-cache-get-entry 


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1386 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-08 18:24:14 +00:00