Commit Graph

26 Commits (607801f2fdbb9fc3b918d9142567f80707f7eb98)

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
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
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.
leitner 9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
leitner f4c8a0c7c2 fix openbsd problem?
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit)
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater)
leitner 1d9075071f add some man pages
leitner 8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;)
leitner 177e18f415 the mmap+write version of io_sendfile sent too much at the end and/or
went into an infinite loop sometimes.
leitner c18a0dbf62 actually check in AIX sendfile code
leitner cae1a561fd integrate Linux sendfile into trysendfile.c infrastructure
first stab at AIX 5 sendfile support
leitner f21e1c57a3 macos x support
leitner 7ddce27f49 Support Solaris 9 sendfile
leitner 4740036c6f #define _LARGEFILE64_SOURCE
leitner f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer)
leitner 8ce9e6c016 sendfile
leitner 3cac9c2b80 make sure the mmap based io_sendfile actually works (and terminates)
leitner 9a0e23f420 oops, left debug #undef in
leitner a17f7c30d2 use mmap on BSD without sendfile
leitner f6b5de0c93 forgot to include <unistd.h>
leitner b97909c538 remove warning
leitner 0c64df2331 make BSD sendfile optional (NetBSD doesn't have it)
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send
leitner dfe75af4bd add io_sendfile with BSD support