Commit Graph

346 Commits (9feaf898e248aaaec59475fbeda08cba1051d06b)

Author SHA1 Message Date
Jan Kneschke 3888c10357 handle missing SSL-close-notify if keep-alive is disabled (fixed #311)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@803 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 08:44:54 +00:00
Jan Kneschke 0b3cc19a7f fixed assertion on failure of mkstemp or write on post-data
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@802 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 08:14:02 +00:00
Jan Kneschke 7fd269cf87 added support for userdir without a passwd entry
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@801 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 07:58:17 +00:00
Jan Kneschke 74d0c3d0de added BusyServer compat for ?auto
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@800 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 07:57:09 +00:00
Jan Kneschke 1022432a1e added %I for bytes_in
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@799 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 07:56:29 +00:00
Jan Kneschke ff0ec13761 get it compile on mac os x
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@797 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-24 11:38:05 +00:00
Jan Kneschke 03452de486 added madvise, smaller mmap()ed windows and local-buffering
(step 1 and 2 of the optimizations)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@796 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-24 11:37:43 +00:00
Jan Kneschke c87a000c13 renamed file.offset to file.start (we had 3 different 'offset' which was confusing)
added a offset tag to the mmap part of the file-struct to allow moving mmap-windows




git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@795 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-24 11:36:22 +00:00
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
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 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 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 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 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 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 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 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 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 8bf86d6d8d append X-Forwarded-For to existing headers
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@743 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 09:16:35 +00:00
Jan Kneschke 08809b7968 removed debug code
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@742 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 09:16:07 +00:00
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue
which can buffer to tempfiles of the content is to large


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@741 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:56:39 +00:00
Jan Kneschke 5bd52eea71 if we would have streaming mod_uploadprogress would work
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@740 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:55:07 +00:00
Jan Kneschke 2d249ec215 removed warning
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@739 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:54:34 +00:00
Jan Kneschke d958d547c8 added tempfile chunks which remove the file automaticly of they are closed
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@738 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:53:58 +00:00
Jan Kneschke bd893badb9 added the fd as parameter for the write() functions
- the plugins can use them now too


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@737 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:52:37 +00:00
Jan Kneschke c440468249 max-request-size was not respected since a long time
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@736 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-26 08:49:13 +00:00