Commit Graph

502 Commits

Author SHA1 Message Date
Jan Kneschke ff29203dba close fds on error and add CLOEXEC to FDs which stay open for a longer time
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@794 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-22 08:10:07 +00:00
Xuefer 396a4de69b more document
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@793 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-20 03:27:03 +00:00
Jan Kneschke a9e314601e The dependecies of header files into account
FreeBSD 4.11 needs this
  sent in by Christopher Boumenot


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@792 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-18 16:21:34 +00:00
Jan Kneschke 4f58672a85 added a comment on possible optimizations to the code and
added #ifdef USE_MADVISE to improve experimental support for read-head via mmap()


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@791 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-18 10:39:38 +00:00
Jan Kneschke e84aba5c24 fixed missing sys/filio.h on solaris (fixes #332)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@790 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-18 10:38:11 +00:00
Jan Kneschke c949273aa4 clean the error-queue is case we have a read/write error
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@789 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-15 14:29:51 +00:00
Jan Kneschke b545650ee7 removed check for winsock2.h as it fails in anyway
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@788 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-15 14:29:11 +00:00
Jan Kneschke 85617fc337 add no-fork option for daemontools (fixed #295)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@787 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-11 09:29:30 +00:00
Jan Kneschke d24262a03c gracefull -> graceful
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@785 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-10 12:03:09 +00:00
Jan Kneschke c1f4d40dfd get ready for 1.4.6
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@784 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-09 20:49:43 +00:00
Jan Kneschke 1f0174e9d1 assume case-sensitive FS of upper + lower case result in the same filename (e.g. /1234/)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@783 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-09 20:49:02 +00:00
Jan Kneschke c4fa6928b6 Moved the check if we have mysql-vhost config for this host AFTER the patch function
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@782 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-06 08:14:58 +00:00
Jan Kneschke a77f7a90d8 the range-request options was not handled at all, added test case
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@781 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-05 10:40:00 +00:00
Jan Kneschke 3a6769d19b remove trailing \ (fixed #310)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@780 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-04 21:44:35 +00:00
Jan Kneschke 51d6e2abf0 fixed output of non-cached compressed content and added test-cases
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@779 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-04 09:25:29 +00:00
Jan Kneschke 6cfb2582c4 MacOS X needs the network* functions for the mod_fastcgi and friends
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@778 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-04 09:24:46 +00:00
Xuefer 37755de84f remove bogus script for cygwin. use rebaseall if you have problem with remap error.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@777 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-03 14:18:30 +00:00
Xuefer 70110beb37 link mod_cml with libmemcache
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@776 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-03 13:40:56 +00:00
Xuefer 578e68e26c build and install spawn-fcgi. don't install implib
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@775 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-03 13:40:22 +00:00
Jan Kneschke 5b859e34de added a last-minute fix before releasing 1.4.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@774 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-02 21:52:33 +00:00
Jan Kneschke ac7db634f6 detect empty URIs in requests as bad request, status 400
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@773 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-02 21:50:51 +00:00
Xuefer ef8f508a5f kill warning for string compare introduced by last changeset
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@772 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 12:47:52 +00:00
Xuefer 809199f98f scons fixes, and built/test on cygwin
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@771 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 12:35:55 +00:00
Xuefer 56e8df101c part of [733]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@770 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 12:08:00 +00:00
Xuefer 58e4c26d94 remove warning for strptime
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@769 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-01 11:05:30 +00:00
Jan Kneschke b2ee4babeb fixed handling of delay FDEVENT_HUP and epoll()
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@768 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 17:29:55 +00:00
Jan Kneschke 0a0336dec6 s/def/defined/
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@767 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 17:27:23 +00:00
Xuefer 4b7f5b1a3f the missing part of [757]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@766 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 11:06:43 +00:00
Jan Kneschke 4ab20e5bef documented the changes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@765 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 08:54:41 +00:00
Jan Kneschke bb0959bb65 the refer == "" tests are failing even if they should have been fixed already, make them as TODO for the final release
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@764 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 08:53:42 +00:00
Jan Kneschke f9ecf10ef0 solaris needs __EXTENSIONS__ to be happy (fixes #282) and we want to ship 1.4.5 soon
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@763 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-30 08:53:03 +00:00
Jan Kneschke 1377748235 updated docs to 1.4.x names and add support for global index-generators (see #250)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@762 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 22:14:00 +00:00
Xuefer 89cbb82286 check all block for unknown config-key instead of only global one
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@761 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 17:09:12 +00:00
Xuefer 181fed2ab0 let u know what's wrong
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@760 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 17:07:22 +00:00
Xuefer 1d3da14a5b make it works for both autotools/scons
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@759 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 17:06:47 +00:00
Xuefer 1f855b34dd make %1 %2 etc works instead of SEGV
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@758 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 15:23:09 +00:00
Xuefer 9be1abfb85 an unset header is now treat as empty_string "" to make the conditional logic correct.
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@757 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 14:42:35 +00:00
Jan Kneschke 33320eba67 fixed compilation of libxml2 is not installed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@756 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 14:36:08 +00:00
Jan Kneschke ab522ec82a expect XML_ERR_DOCUMENT_END for the final packet
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@755 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 14:18:26 +00:00
Jan Kneschke 4fc810eb34 this should have been part of [752]
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@754 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:31:12 +00:00
Jan Kneschke 4005e69bbf added a check for $HTTP["referer"] == ""
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@753 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:30:25 +00:00
Jan Kneschke cebb64e47b added a ssi check for the endless loop we had
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@752 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:29:44 +00:00
Jan Kneschke 54dea53fdf update bytes_written in con-> (fixed #737)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@751 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:12:34 +00:00
Jan Kneschke 6a0b737789 ported to request_content_queue and fixed segfault of sqlite is compiled in but not used
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@750 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:04:20 +00:00
Jan Kneschke 7dcf695bee fdlist is not used, removed it (fixes inclusion into C++)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@749 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:03:39 +00:00
Jan Kneschke 40968e3c64 include either inttypes.h or stdint.h (fixes #291)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@748 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 13:02:50 +00:00
Jan Kneschke c76035f592 fixed preparation of the content if we have to get the content from 2 network packets
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@747 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-29 12:29:04 +00:00
Jan Kneschke 5cafff4776 print bin-path if a fastcgi-binary exits at spawning time and us %lld for long long int
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@746 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 12:30:18 +00:00
Jan Kneschke aab12c7582 fixed crc32c on 64bit platforms (fixes crc errors)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@745 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 12:26:37 +00:00
Jan Kneschke 4b60920e80 with_xml instead of with_xml2 and fixed passing of -D options for LFS
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@744 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 09:44:36 +00:00