Commit Graph

360 Commits

Author SHA1 Message Date
Jan Kneschke e47ae00886 let kqueue startup after daemonize is done
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@650 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-30 10:42:06 +00:00
Jan Kneschke d84a871547 after-release fixes for freebsd (merged [191])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@649 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 20:47:34 +00:00
Jan Kneschke b14d500a9e do a long wait if the lighttpd isn't starting up fast enough
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@647 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 14:12:31 +00:00
Jan Kneschke 15dc40cd36 removed the 'make distcheck' hack as we have -m now ([640], [630])
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@646 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 14:11:47 +00:00
Jan Kneschke 1be36e4013 make 'make distcheck' happy and install files into _build/tests/
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@645 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 13:43:46 +00:00
Jan Kneschke 849cbb728e create empty files for mimetype testing
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@644 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:42:06 +00:00
Jan Kneschke 60b1692695 prepare for 1.4.2
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@643 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:33:50 +00:00
Jan Kneschke ef7955cc1f fixed typos
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@642 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:30:23 +00:00
Jan Kneschke 7d4f64c476 don't set a global uri-prefix and added checks (fixes #235)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@641 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:26:25 +00:00
Jan Kneschke 15b0109071 run tests in build root (merged #228)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@640 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:08:00 +00:00
Jan Kneschke 0f30ffa145 added --without-* for pcre and bzip2 (merged #225)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@639 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 12:06:45 +00:00
Jan Kneschke c2f868c02a removed optimization as it didn't handled alignement issues
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@638 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 11:11:35 +00:00
Jan Kneschke ecb30c4eec reverted last chngeset and added asserts() that all inserts and deletes are working
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@637 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-29 10:44:00 +00:00
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 c013b0180d off by one in the skip count
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@631 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:57:20 +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 98d5982d48 fixe dthe number of tests in mod-secdownload.t
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@627 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 14:15:51 +00:00
Jan Kneschke 294ecffdaf automate the build-process again
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@626 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-27 13:45:55 +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 9359e21514 added tests for mod-secdownload
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@623 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 20:09:14 +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
Xuefer f08537ee87 document backreference to regex conditional
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@620 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-25 05:47:24 +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
Jan Kneschke 06becfacfc check that the anti deeplinking via referer matches work
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@617 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-24 07:22:03 +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 3af5f02398 added a basic test for mod-ssi
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@612 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-23 07:55:19 +00:00
Jan Kneschke fd7466eb7a added docs for the new options in mod_dirlisting
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@611 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 12:28:36 +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 0f238b3393 prepare for 1.4.1
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@609 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 10:56:28 +00:00
Jan Kneschke 3bc6a042d1 added the same --with/--without logic to sqlite and libxml
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@608 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-22 10:56:06 +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 b22c094836 added testcase for header before we-got-content bug
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@604 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-21 23:12:56 +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