Commit Graph

230 Commits (a3e25bf8ed4cfa496ac8839ab932bd38abbfec3e)

Author SHA1 Message Date
Jan Kneschke a3e25bf8ed closed memleaks at shutdown
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@636 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 10:43:29 +00:00
Jan Kneschke d1e70da839 iterate over the tree on delete and free() the nodes itself
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@635 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 09:50:37 +00:00
Jan Kneschke e19d4d77db for EAGAIN: don't close the fd twice, for the other errno's: close() might modify errno.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@634 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-28 21:32:43 +00:00
Xuefer 1f00903dd2 fix table css for easy of embeding
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@633 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-28 11:04:12 +00:00
Jan Kneschke 0212534554 fixed detection of mimetype on uppercase extensions
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@632 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 16:35:57 +00:00
Jan Kneschke c7ec5012e0 added -m to set the location of the modules
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@630 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:43:45 +00:00
Jan Kneschke c18d4565cd removed -6 from help text and moved FAMOpen2() to a place after setuid() (merged patch from #233)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@629 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:36:02 +00:00
Jan Kneschke e2fc3e86d0 closed mem-leaks on shutdown
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@628 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:34:40 +00:00
Jan Kneschke 54d03b905b added large-file support for Range-Requests again.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@625 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-26 07:09:32 +00:00
Jan Kneschke c1ac34063e reset and free dst_addr_buf
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@624 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 20:09:46 +00:00
Jan Kneschke 79d3bc4491 add support for the original libfam and handle HUP on the fam-fd
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@622 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 17:37:17 +00:00
Jan Kneschke e93ac5407b if the write is waiting, break the loop.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@621 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 06:21:32 +00:00
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