Commit Graph

857 Commits (a0aafd9a24fb72e845d0902eac54c3324b6e8c9c)
 

Author SHA1 Message Date
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago