Commit Graph

21 Commits (3dd2f66d1321025078938015bd20df2c69fd5e48)

Author SHA1 Message Date
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 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 94feee046c fixed handling of EAGAIN in linux-sendfile (fixes #657) 15 years ago
Jan Kneschke a0aafd9a24 save the old errno of the sendfile() call in case that the attr_get() 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Jan Kneschke 7cd02126d5 oops, fixed compile 17 years ago
Jan Kneschke f965cd20ae - move the extra-stat() out of the main-path 17 years ago
Jan Kneschke 83a0dc2702 disable posix_fadvise support as 2.4.x kernels cause problems here. 17 years ago
Jan Kneschke a5b69917d1 if posix_fadvise is not implemented, ignore the error 17 years ago
Jan Kneschke 754f950fc1 set SEQENTIAL READ on the sendfile file-fds 17 years ago
Jan Kneschke e485768d1e handle a sendfile() = 0 is connection closed by remote side 17 years ago
Jan Kneschke c87a000c13 renamed file.offset to file.start (we had 3 different 'offset' which was confusing) 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 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