Commit Graph

11 Commits (7e861ea32e846c3774286ad1b6faf5cb02fa8ed2)

Author SHA1 Message Date
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)
18 years ago
Jan Kneschke ff29203dba close fds on error and add CLOEXEC to FDs which stay open for a longer time
18 years ago
Jan Kneschke bd893badb9 added the fd as parameter for the write() functions
18 years ago
Jan Kneschke b32a18b1e8 updated cq->written and con->bytes_written correctly
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)
18 years ago
Jan Kneschke 5e134da075 dropped file-cache, added stat-cache and modules ALWAYS cleanup at connection-end
18 years ago
Jan Kneschke bcdc6a3bbc moved everything below trunk/ and added branches/ and tags/
18 years ago