123 Commits (0080e0311aa418d0ee2d7a715111cd9301a0867d)

Author SHA1 Message Date
leitner 11da04b651 fix descriptor leak in iob_addfile_close if the range was 0 (oops) 20 years ago
leitner 1205a3d38f byte_zero the allocated io_batch in iob_new 20 years ago
leitner 882885fdff remove cruft 20 years ago
leitner 9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
20 years ago
leitner e73c3e85f1 document error case 20 years ago
leitner bbf4c614bf fix iob_write to handle failure properly
document that the iob_write callback should limit itself
20 years ago
leitner f4c8a0c7c2 fix openbsd problem? 20 years ago
leitner fd4344f3c0 how could this ever have worked? 20 years ago
leitner 89c12ba545 typo, found by Tino Reichardt 20 years ago
leitner b617d63d1e update dependencies
add errmsg_info and msg
20 years ago
leitner bffb1dab90 mention prototype of io_write_callback 20 years ago
leitner 86cfc33dab add iob_write (send io batch through callback, e.g. for SSL) 20 years ago
leitner b48ce77792 add iob_write (to write an io batch through a callback) 20 years ago
leitner e95599085a use madvise MADV_PREFETCH to implement iob_prefetch 20 years ago
leitner f4108178f2 fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
21 years ago
leitner 523f6f4765 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
21 years ago
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
21 years ago
leitner 1e871b1c32 actually return 0 on success in io_passfd 21 years ago
leitner 696c5f872c add io_readwritefile, io_appendfile 21 years ago
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 21 years ago
leitner 768a46e304 argh more bsd 21 years ago
leitner a23757a317 bsd compat 21 years ago
leitner f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
21 years ago
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater) 21 years ago
leitner d8ce4dc2e5 fix signal race (Scott Lamb) 21 years ago
leitner 076a8f4628 explicitly define extern globals 21 years ago
leitner 78d181cb3e document return values correctly 21 years ago
leitner 6fb76c3cd9 <io.h> -> <iob.h> 21 years ago
leitner 4aecd26995 add more man pages 21 years ago
leitner 24227e0e01 add sigpipe helper 21 years ago
leitner 1d9075071f add some man pages 21 years ago
leitner b27aa1a9d8 better error handling 21 years ago
leitner 70e112b892 add fd passing functions 21 years ago
leitner 745c4affc5 add io_socketpair 21 years ago
leitner 3996ade63e add iob_addfile_close (iob_reset will close the files) 21 years ago
leitner adcb7aee21 handle POLLNVAL (can't happen errors) 21 years ago
leitner 8454eb7e4c speculative pre-emptive freebsd 4 compatibility ;) 21 years ago
leitner 069aedc871 try to fix freebsd 4 compile error 21 years ago
leitner 4eed466fbc writev fix 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 7bcba8b2d1 still had bus error :( 21 years ago
leitner 91060a1772 still bus error 21 years ago
leitner 6d35239e2c bus error?! 21 years ago
leitner e92d4ca5f5 prefetching leaked memory 21 years ago
leitner f21e1c57a3 macos x support 21 years ago
leitner 8f188cc95b macos x support 21 years ago
leitner 7ddce27f49 Support Solaris 9 sendfile 21 years ago
leitner 4740036c6f #define _LARGEFILE64_SOURCE 21 years ago