Commit Graph

871 Commits

Author SHA1 Message Date
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
Jan Kneschke d6bfa8aaa8 the patch attached to #119 was right. If we
have content on a HEAD request, take it as the 
Content-Length and discard the content (as it is
a HEAD request)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1385 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 17:47:49 +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
Jan Kneschke b4778f8e6d fixed writev() on FreeBSD 4.x and older (FreeBSD-port: PR103758)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1383 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 17:27:29 +00:00
Jan Kneschke 7a220fceb4 don't force a Content-Length header in HEAD requests (#119)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1382 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 17:17:54 +00:00
Jan Kneschke 636c890721 no one really liked this warning :(
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1381 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 07:46:46 +00:00
Jan Kneschke e49da67a47 only set the etag if we have one
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1380 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 07:46:22 +00:00
Marcus Rückert b6ee10916c mkcol/mkdir in mod_webdav now honors the umask aswell.
fixes [#884]

* src/mod_webdav.c
  added define WEBDAV_FILE_MODE
  added define WEBDAV_DIR_MODE
  and replaced all hardcoded values in open/mkdir calls with
  the defines.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1379 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-07 03:09:39 +00:00
Jan Kneschke 41bcf415c4 added content-type to the .stat() and decoded the st_mode
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1378 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-06 11:21:00 +00:00
Jan Kneschke bf0f7832c1 added lighty.stat() which uses the stat-cache to reduce the number of syscalls
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1377 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-06 08:27:50 +00:00
Jan Kneschke 0780de8bfa added the original URI, before the rewrite, to the env.
the orig-uri is forwarded as REQUEST_URI to the *CGI backends


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1376 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-06 07:14:10 +00:00
Jan Kneschke ba52eb0e41 disable chunked encoding header on a HEAD request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1375 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-05 10:23:27 +00:00
Marcus Rückert b8df99f3db - a few more whitespace cleanups
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1374 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-05 00:09:51 +00:00
Jan Kneschke bb24041f92 provide a useful error-msg when sqlite3_open fails
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1373 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 21:25:29 +00:00
Jan Kneschke 1398cb2e3e fixed some allocations in the ssl-part before lighty exits to make valgrind happy
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1372 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:31:49 +00:00
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;)
i hope it helps with merging stuff back to 1.5

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00
Jan Kneschke fe6b7207d7 - next release is 1.4.13
- allow --with-lua with a package-name for pkg-config


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1370 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 08:00:09 +00:00
Jan Kneschke 3a152b3b76 added $apr1$ support for htpasswd (fixes #870)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1369 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:46:12 +00:00
Jan Kneschke 68033b8e62 merged [270] (fixes #871)
- call initgroups() in spawn-fcgi.c


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1368 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:36:10 +00:00
Jan Kneschke 874173ce56 added summary-tag to all tables in dirlisting and status
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1367 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:27:59 +00:00
Jan Kneschke 55c90e4c60 remove fragments from the request-uri (fixes #869)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1366 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:20:14 +00:00
Jan Kneschke d766ee99ce allocate a byte more, to match the ioctl() report
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1365 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 07:00:35 +00:00
Marcus Rückert 56de5af1cd - properly find fastcgi.h in /usr/include/fastcgi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1364 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:22:47 +00:00
Marcus Rückert b060b46dc9 - mark a few params as unused
- fix a few signed mismatch by casting to the correct type

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1363 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:21:42 +00:00
Marcus Rückert acd628fe09 - remove unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1362 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:20:32 +00:00
Marcus Rückert 7cefa9ce73 - cast ptrdiff_t to size_t to avoid a signed comparison warning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1361 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:19:50 +00:00
Marcus Rückert fe77777647 - dont use int for a enum type
- handle default case in connection type switch

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1360 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:18:06 +00:00
Marcus Rückert 3e7e2d528d - marked parameter as unused
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1359 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:16:35 +00:00
Marcus Rückert 15fde9cf07 - mark a few parameters as unused
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1358 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:15:55 +00:00
Marcus Rückert 91776b2d10 - remove unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1357 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 22:15:17 +00:00
Marcus Rückert 0bf00920a3 - if using gcc set the c standard to gnu99.
"solves" some compiler warnings.

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1356 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:59:56 +00:00
Marcus Rückert a4206f2ead - ignore Makefile and Makefile.in
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1355 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:54:23 +00:00
Marcus Rückert 80c296a6e2 - added "tags" to the ignorelist
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1354 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:49:39 +00:00
Marcus Rückert 1acecead61 - added configparser.h proc_open *.swp to the ignore list
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1353 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 14:48:58 +00:00
Jan Kneschke 4581a73ab8 fixed off-by-one bug when the second CRLF after a HTTP-header is in a second read() call
- fixes #876


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1352 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 13:33:35 +00:00
Marcus Rückert b68f200c99 - this is our 1.4.x maintenance branch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1351 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-03 13:01:56 +00:00