Commit Graph

16 Commits (7e861ea32e846c3774286ad1b6faf5cb02fa8ed2)

Author SHA1 Message Date
Jan Kneschke 6ae26a7dab fallback to madvise(), it works at least
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@996 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 156c02a466 test for posix_madvise
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@976 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
Jan Kneschke 869b6d4585 - darwin 7 doesn't like madvise
- use posix_madvise instead of madvise


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@959 152afb58-edef-0310-8abb-c4023f1b3aa9
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
19 years ago