Commit Graph

22 Commits (3d208504513664c67f6e96fb953e4df3a67bd64f)

Author SHA1 Message Date
Jan Kneschke aab9e92a63 * fixed compilation in network_writev.c on MacOS X 10.3.9 (fixes #903)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1744 152afb58-edef-0310-8abb-c4023f1b3aa9
16 years ago
Marcus Rückert f8d54c8574 - properly ifdef for dragonflybsd. this should be the last missing chunk
patch by Jörg Sonnenberger

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1676 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke b4778f8e6d fixed writev() on FreeBSD 4.x and older (FreeBSD-port: PR103758)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1383 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;)
i hope it helps with merging stuff back to 1.5

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke 49815a7798 fixed writev() for older glibc's
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1306 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
Jan Kneschke dcb2689f4d use sysconf() to get IOV_MAX (fixes #842)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1289 152afb58-edef-0310-8abb-c4023f1b3aa9
17 years ago
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