Commit Graph

1206 Commits (3d208504513664c67f6e96fb953e4df3a67bd64f)

Author SHA1 Message Date
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
Jan Kneschke 0ad43990ee added a better comment about the current (incomplete) state of LOCK support
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1346 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-28 12:09:26 +00:00
Jan Kneschke a59faafd7d fixed the 501 code for a LOCK request
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1345 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-28 07:25:38 +00:00
Jan Kneschke 0014a87d02 added a check for uuid.h to the scons build
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1344 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-28 07:25:15 +00:00
Marcus Rückert 347f6479c2 - configure.in:
check for uuid/uuid.h
- mod_webdav.c:
  change the conditional to use HAVE_UUID_UUID_h

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1343 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-27 23:55:04 +00:00
Jan Kneschke 75174f144e we have a release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1340 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 12:15:19 +00:00
Jan Kneschke 15a488a945 use the right return-value for an error
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1339 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 12:11:30 +00:00
Jan Kneschke 634ec365f5 make the config-options arrays instead of strings
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1338 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 11:19:31 +00:00
Jan Kneschke e332dce9bf improved error-msgs if on type-mismatch
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1337 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 11:19:02 +00:00
Jan Kneschke 67079527f4 changed name of shadowed variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1336 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 11:18:31 +00:00
Jan Kneschke f56e3907fe merged [1078]
- allow empty arrays


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1335 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 07:15:07 +00:00
Jan Kneschke dd35c9101c fixed connections falling back to non-ssl when keep-alive + ssl was used
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1334 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-23 07:04:02 +00:00
Marcus Rückert 5130edf9d0 - added the webdav permissions fix
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1333 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-22 07:32:12 +00:00
Jan Kneschke 9de3807438 handle follow-symlink in the stat-cache
- added the follow-symlink into the hash-key
- delete all versions if a file/dir is moved or deleted


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1332 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 14:53:14 +00:00
Jan Kneschke 30d892061e merged [1174] and [1224]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1331 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 14:48:46 +00:00
Jan Kneschke 6ae9b8f58e removed buggy optimization
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1330 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-09-21 13:32:29 +00:00