Commit Graph

218 Commits

Author SHA1 Message Date
Jan Kneschke ff8637dee0 call create-env only for the first match. (for #220)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@619 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-24 21:01:34 +00:00
Jan Kneschke e1855b24dd EINTR is harmless
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@618 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-24 10:37:30 +00:00
Xuefer f387d89870 fix merging of auto-indexing element, and make autoload modules hack to use array merging
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@616 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 14:35:01 +00:00
Jan Kneschke 9a2e653557 if pcre is not avaible the UNUSED(regex) tries to tag a non-existent parameter
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@615 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 11:53:45 +00:00
Jan Kneschke 30e094f8d2 complain about the right plugin not cleaning up
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@614 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 10:42:26 +00:00
Jan Kneschke 9db5407390 HANDLER_GO_ON results in HANDLER_FINISHED later even if the we only received the header yet which is a bit too early.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@613 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 10:42:03 +00:00
Jan Kneschke 1ce7cb8272 fixed check for base-docroot if chroot is used (fixes #144), patch provided by jochen at schalanda.de
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@610 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 11:00:31 +00:00
Jan Kneschke 632703d7ae we can't use mmap() with SSL_write as we don't have guarantee that
after a SSL_ERROR_WANT_WRITE we get the same mmap()ed address as
start pointer. On OpenBSD the start-address is completly random.

Using a local sendbuffer solves this problem.


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@607 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 10:43:26 +00:00
Jan Kneschke 8b88536b71 REUSE the socket on spawning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@606 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 09:44:31 +00:00
Jan Kneschke 34e169d58d Patch for new option 'dir-listing.exclude' (closes #215)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@605 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 08:18:35 +00:00
Jan Kneschke 35d3c10d81 on SEGFAULT tell were we where
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@603 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:09:43 +00:00
Jan Kneschke e8c45fbd58 don't try to compress a empty filename
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@602 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:09:15 +00:00
Jan Kneschke 2bc0d28842 wait for the cgi response before we send the HTTP header
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@601 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:08:50 +00:00
Jan Kneschke 86ac3fb37f if pathconf fails (like on obsd and nfs) fall back to NAME_MAX or 256
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@600 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 22:38:09 +00:00
Jan Kneschke 6f940eaeb7 ported to stat-cache
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@598 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 18:04:27 +00:00
Jan Kneschke fddcf8379f don't set content-length if chunked encoding is used.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@597 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 17:52:06 +00:00
Jan Kneschke b3cbfab0e1 get the properties of the file, not the directory
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@596 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 11:27:59 +00:00
Jan Kneschke 71d3dad979 remove signess warnings, fixed PROPFIND listings, send 404 in PROPPATCH if resource doesn't exist
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@595 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 10:06:23 +00:00
Jan Kneschke c453169814 only of sqlite3 and libxml2 are available enable PROPPATCH and friends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@594 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 07:21:22 +00:00
Jan Kneschke 163c25a2a9 added MOVE, COPY, PROPPATCH and nearly complete PROPFIND (Level 1-3 of litmus passed)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@593 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-20 19:10:44 +00:00
Jan Kneschke 30b1973266 fixed stat-cache for xattr
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@592 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-20 19:09:09 +00:00
Jan Kneschke 1a1fc2d54d forgot to add the legacy option as conditional
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@590 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-20 15:29:23 +00:00
Jan Kneschke 6c160ec7d9 added PUT, all basic litmus tests passed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@589 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 14:40:19 +00:00
Jan Kneschke e2a32465f3 does include the parent directory in the PROPFIND output
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@585 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 13:56:32 +00:00
Jan Kneschke e37805c9b4 added DELETE and MKCOL to mod_webdav
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@584 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 13:42:01 +00:00
Jan Kneschke c5249103fd sol10 needs them
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@581 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 11:14:04 +00:00
Jan Kneschke a31377ace4 fixed handling of OPTIONS * and /
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@579 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 08:37:52 +00:00
Jan Kneschke 919187ecf1 added a switch to enable webdav on demand
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@578 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 08:37:21 +00:00
Jan Kneschke 3be06bb84c added read-only WebDAV support
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@577 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-19 00:05:52 +00:00
Jan Kneschke faa4d51ede the userdir module builds a physical path by hand, the same as mod_alias
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@576 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 20:53:02 +00:00
Jan Kneschke b01d94c3a9 added function declaration
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@575 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 12:00:40 +00:00
Jan Kneschke 270ce0c65e removed unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@574 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 11:58:49 +00:00
Jan Kneschke b8e6fee3c3 removed unused variable
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@573 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 11:56:07 +00:00
Jan Kneschke eca25a0ae1 file_cache.h is not stat_cache.h
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@572 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 11:21:58 +00:00
Jan Kneschke 962d936d94 don't die if accesslog file is not set
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@571 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 10:10:34 +00:00
Jan Kneschke 172340e22f let mod_compress prepare etag, last-modified and content-type
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@569 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 09:26:29 +00:00
Jan Kneschke c39b55649d initialize is_ssl (perhaps fixes a long standing bug)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@568 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 09:25:59 +00:00
Jan Kneschke 0d7dca9483 removed #ifdefs and fixed conditional config for mod_trigger_b4_dl that way
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@567 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-18 08:17:17 +00:00
Jan Kneschke 0d79097c3d added debug option to mod_trigger_b4_dl and initialize the base-config
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@566 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 17:36:03 +00:00
Jan Kneschke 1b4b0b313a tell the user to use the right PHP build for FastCGI
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@565 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 15:28:20 +00:00
Jan Kneschke df688f7de0 pipe and syslog need each log-entry by itself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@564 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 14:42:09 +00:00
Jan Kneschke e9165caae8 range-requests is at 40
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@563 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 13:30:35 +00:00
Jan Kneschke c052589bb3 load mod_indexfile before, mod_fastcgi and friends and let array regenerated unique ids if necessary
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@560 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 09:56:33 +00:00
Jan Kneschke a1944f40f2 initialize balancer-config
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@556 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 09:49:23 +00:00
Jan Kneschke 4c265a6fd8 better error-handling and cleanup (merged [257] and [282])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@555 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 07:43:14 +00:00
Xuefer 6044dbc5b3 make output of array/config same format as lighttpd.conf, with auto indention
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@554 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-17 06:47:07 +00:00
Jan Kneschke 718e97b68b don't segfault on stat-failed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@552 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-16 14:22:03 +00:00
Jan Kneschke bac9212c8f fixed possible uninit variables of the config-parser fails (merged [183])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@551 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-16 13:07:46 +00:00
Jan Kneschke 2bc237115e fixes compiling after last merge
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@550 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-16 13:04:54 +00:00
Jan Kneschke ae02f2c48b mod_staticfile is the next plugin, so don't call HANDLER_FINISHED
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@549 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 18:04:58 +00:00