31 Commits (acad2c903af14c19c640f927860ce6ef6071aed0)

Author SHA1 Message Date
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler 593599f14a rewrite network (write) backends 7 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 8 years ago
Stefan Bühler 9f2be4882d force assertion: setting FD_CLOEXEC must work (if available) 9 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 9 years ago
Stefan Bühler 25a3f2e826 [network] use constants available at compile time for maximum number of chunks for writev instead of calling sysconf (fixes #2470) 9 years ago
Cyril Brulebois 9c43331382 Use NULL instead of 0 where pointers are expected. 10 years ago
Stefan Bühler f434d514ad Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 11 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Jan Kneschke aab9e92a63 * fixed compilation in network_writev.c on MacOS X 10.3.9 (fixes #903) 15 years ago
Marcus Rückert f8d54c8574 - properly ifdef for dragonflybsd. this should be the last missing chunk 16 years ago
Jan Kneschke b4778f8e6d fixed writev() on FreeBSD 4.x and older (FreeBSD-port: PR103758) 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Jan Kneschke 49815a7798 fixed writev() for older glibc's 16 years ago
Jan Kneschke dcb2689f4d use sysconf() to get IOV_MAX (fixes #842) 16 years ago
Jan Kneschke 6ae26a7dab fallback to madvise(), it works at least 17 years ago
Jan Kneschke 156c02a466 test for posix_madvise 17 years ago
Jan Kneschke 869b6d4585 - darwin 7 doesn't like madvise 17 years ago
Jan Kneschke 93ba0f958e fixed unsigned/signed compare 17 years ago
Jan Kneschke 53144a5a86 fixed calcutation of offset and length for range-request 17 years ago
Jan Kneschke 87cfee3fc5 fixed SIGBUS in range-requests as we were mmaping/madvising too much 17 years ago
Jan Kneschke dc87ff8c44 fixed range request handling in network_writev 17 years ago
Jan Kneschke 6e424095f2 added check for madvise 17 years ago
Jan Kneschke 03452de486 added madvise, smaller mmap()ed windows and local-buffering 17 years ago
Jan Kneschke ff29203dba close fds on error and add CLOEXEC to FDs which stay open for a longer time 17 years ago
Jan Kneschke 4f58672a85 added a comment on possible optimizations to the code and 17 years ago
Jan Kneschke bd893badb9 added the fd as parameter for the write() functions 17 years ago
Jan Kneschke b32a18b1e8 updated cq->written and con->bytes_written correctly 17 years ago
Jan Kneschke 63dceeb0c6 open files only once for chunk, cache mmap and let the chunk itself close the fd (fixed #261, #257) 17 years ago
Jan Kneschke 5e134da075 dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end 17 years ago
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/ 18 years ago