26 Commits (8d449d442ba633ca9944373d832916c727935f78)

Author SHA1 Message Date
leitner d9cbb3940c it turns out you don't need -1/EGAIN to know edge triggering told you
there is no more data, it's enough to read/write less than you asked for
11 years ago
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner c1c50c7dbd further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
20 years ago
leitner 9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
20 years ago
leitner f4c8a0c7c2 fix openbsd problem? 20 years ago
leitner b48ce77792 add iob_write (to write an io batch through a callback) 20 years ago
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 21 years ago
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater) 21 years ago
leitner 1d9075071f add some man pages 21 years ago
leitner 8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;) 21 years ago
leitner 177e18f415 the mmap+write version of io_sendfile sent too much at the end and/or
went into an infinite loop sometimes.
21 years ago
leitner c18a0dbf62 actually check in AIX sendfile code 21 years ago
leitner cae1a561fd integrate Linux sendfile into trysendfile.c infrastructure
first stab at AIX 5 sendfile support
21 years ago
leitner f21e1c57a3 macos x support 21 years ago
leitner 7ddce27f49 Support Solaris 9 sendfile 21 years ago
leitner 4740036c6f #define _LARGEFILE64_SOURCE 21 years ago
leitner f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer) 21 years ago
leitner 8ce9e6c016 sendfile 21 years ago
leitner 3cac9c2b80 make sure the mmap based io_sendfile actually works (and terminates) 21 years ago
leitner 9a0e23f420 oops, left debug #undef in 21 years ago
leitner a17f7c30d2 use mmap on BSD without sendfile 21 years ago
leitner f6b5de0c93 forgot to include <unistd.h> 22 years ago
leitner b97909c538 remove warning 22 years ago
leitner 0c64df2331 make BSD sendfile optional (NetBSD doesn't have it) 22 years ago
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send 22 years ago
leitner dfe75af4bd add io_sendfile with BSD support 22 years ago