Jan Kneschke
93ba0f958e
fixed unsigned/signed compare
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@866 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-18 13:28:12 +00:00
Jan Kneschke
53144a5a86
fixed calcutation of offset and length for range-request
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@842 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-14 10:33:03 +00:00
Jan Kneschke
87cfee3fc5
fixed SIGBUS in range-requests as we were mmaping/madvising too much
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@838 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-11 12:45:41 +00:00
Jan Kneschke
dc87ff8c44
fixed range request handling in network_writev
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@829 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-11-10 12:14:55 +00:00
Jan Kneschke
6e424095f2
added check for madvise
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@810 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-10-31 20:31:26 +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
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
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
b32a18b1e8
updated cq->written and con->bytes_written correctly
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@728 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-22 09:08:06 +00:00
Jan Kneschke
63dceeb0c6
open files only once for chunk, cache mmap and let the chunk itself close the fd ( fixed #261 , #257 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@703 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-14 08:00:33 +00:00
Jan Kneschke
5e134da075
dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@502 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-08 08:22:06 +00:00
Jan Kneschke
bcdc6a3bbc
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00