Commit Graph

100 Commits (8e104ff97540a61bc055c01ca66a56bf8ce67b35)

Author SHA1 Message Date
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater)
leitner d8ce4dc2e5 fix signal race (Scott Lamb)
leitner 076a8f4628 explicitly define extern globals
leitner 78d181cb3e document return values correctly
leitner 6fb76c3cd9 <io.h> -> <iob.h>
leitner 4aecd26995 add more man pages
leitner 24227e0e01 add sigpipe helper
leitner 1d9075071f add some man pages
leitner b27aa1a9d8 better error handling
leitner 70e112b892 add fd passing functions
leitner 745c4affc5 add io_socketpair
leitner 3996ade63e add iob_addfile_close (iob_reset will close the files)
leitner adcb7aee21 handle POLLNVAL (can't happen errors)
leitner 8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;)
leitner 069aedc871 try to fix freebsd 4 compile error
leitner 4eed466fbc writev fix
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 7bcba8b2d1 still had bus error :(
leitner 91060a1772 still bus error
leitner 6d35239e2c bus error?!
leitner e92d4ca5f5 prefetching leaked memory
leitner f21e1c57a3 macos x support
leitner 8f188cc95b 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 2a516c901a recent change corrected sendfile parameters but not internal usage
leitner fa476a9200 add experimental prefetching support
leitner f52aa87441 more alloca fixes
leitner 876738bd8e make cast nicer
leitner 03461c6eb1 more defensive programming for SIGIO (*groan*)
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
sanjiyan a58d400d5c fixing the poll call in io_waituntil2
leitner 0a38894c43 *duh* one extra zero
sanjiyan 29cfd8df4e reset timer correct.
sanjiyan 90bde5e569 reset the timer in the correct way.
leitner 6622288c7c make BSD sendfile actually work
leitner ba849a2720 duh!!! Typo prevented iob_send from using FreeBSD sendfile
leitner a4cf7a8a8b fix Solaris /dev/poll
leitner 65adb024f5 bug fixing time
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
leitner b81e8bcd27 typo
leitner 17f3955f84 handle BSD errors
leitner 361872ffa4 handle errors properly
leitner 96be549818 handle errors signalled by epoll