Felix von Leitner
|
2cd700a10a
|
byte_zero the allocated io_batch in iob_new
|
16 years ago |
Felix von Leitner
|
2ea308d374
|
remove cruft
|
16 years ago |
Felix von Leitner
|
61a51950d4
|
add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
|
16 years ago |
Felix von Leitner
|
8d635a10fb
|
document error case
|
16 years ago |
Felix von Leitner
|
074eab6681
|
fix iob_write to handle failure properly
document that the iob_write callback should limit itself
|
16 years ago |
Felix von Leitner
|
a811de95f1
|
fix openbsd problem?
|
16 years ago |
Felix von Leitner
|
10688c55b8
|
how could this ever have worked?
|
16 years ago |
Felix von Leitner
|
a99281c56d
|
typo, found by Tino Reichardt
|
16 years ago |
Felix von Leitner
|
562656b531
|
update dependencies
add errmsg_info and msg
|
16 years ago |
Felix von Leitner
|
33eec6cc3e
|
mention prototype of io_write_callback
|
16 years ago |
Felix von Leitner
|
f2d7a6b264
|
add iob_write (send io batch through callback, e.g. for SSL)
|
16 years ago |
Felix von Leitner
|
645ecc0632
|
add iob_write (to write an io batch through a callback)
|
16 years ago |
Felix von Leitner
|
017557490a
|
use madvise MADV_PREFETCH to implement iob_prefetch
|
16 years ago |
Felix von Leitner
|
315ab58746
|
fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
|
16 years ago |
Felix von Leitner
|
1892543745
|
cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
|
16 years ago |
Felix von Leitner
|
c431accd41
|
Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
|
16 years ago |
Felix von Leitner
|
1213467cfe
|
actually return 0 on success in io_passfd
|
17 years ago |
Felix von Leitner
|
c7adf4e307
|
add io_readwritefile, io_appendfile
|
17 years ago |
Felix von Leitner
|
71cbad0f60
|
work around broken Linux sendfile API (offset 64-bit but count 32-bit)
|
17 years ago |
Felix von Leitner
|
9d014e1f36
|
bsd compat
|
17 years ago |
Felix von Leitner
|
56ac77f629
|
argh more bsd
|
17 years ago |
Felix von Leitner
|
878fbf64ac
|
bsd compat
|
17 years ago |
Felix von Leitner
|
21907d29cc
|
slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
|
17 years ago |
Felix von Leitner
|
0da1c0902d
|
fix bug in mmap code path of io_sendfile (David Leadbeater)
|
17 years ago |
Felix von Leitner
|
f9bff979e2
|
fix signal race (Scott Lamb)
|
17 years ago |
Felix von Leitner
|
ca610274e0
|
explicitly define extern globals
|
17 years ago |
Felix von Leitner
|
1f7895e25c
|
document return values correctly
|
17 years ago |
Felix von Leitner
|
08b13a1f18
|
<io.h> -> <iob.h>
|
17 years ago |
Felix von Leitner
|
10be0bddaf
|
add more man pages
|
17 years ago |
Felix von Leitner
|
654075d0eb
|
add sigpipe helper
|
17 years ago |
Felix von Leitner
|
5617c437b8
|
add some man pages
|
17 years ago |
Felix von Leitner
|
59a340381e
|
better error handling
|
17 years ago |
Felix von Leitner
|
ec2f230bb4
|
add fd passing functions
|
17 years ago |
Felix von Leitner
|
5959a6d634
|
add io_socketpair
|
17 years ago |
Felix von Leitner
|
00dcef4652
|
add iob_addfile_close (iob_reset will close the files)
|
17 years ago |
Felix von Leitner
|
8bfdacc6f2
|
handle POLLNVAL (can't happen errors)
|
17 years ago |
Felix von Leitner
|
4f27d99c9d
|
speculative pre-emptive freebsd 4 compatibility ;)
|
17 years ago |
Felix von Leitner
|
75e1b71e75
|
try to fix freebsd 4 compile error
|
17 years ago |
Felix von Leitner
|
31e62af122
|
writev fix
|
17 years ago |
Felix von Leitner
|
bfe7592705
|
the mmap+write version of io_sendfile sent too much at the end and/or
went into an infinite loop sometimes.
|
17 years ago |
Felix von Leitner
|
1e6cd7dc5c
|
actually check in AIX sendfile code
|
17 years ago |
Felix von Leitner
|
81f97d85b7
|
integrate Linux sendfile into trysendfile.c infrastructure
first stab at AIX 5 sendfile support
|
17 years ago |
Felix von Leitner
|
23e8812905
|
still had bus error :(
|
17 years ago |
Felix von Leitner
|
d981f35a7f
|
still bus error
|
17 years ago |
Felix von Leitner
|
4c5a8ea119
|
bus error?!
|
17 years ago |
Felix von Leitner
|
8885fc1018
|
prefetching leaked memory
|
17 years ago |
Felix von Leitner
|
5ea24edfec
|
macos x support
|
17 years ago |
Felix von Leitner
|
e8c96ef3a7
|
macos x support
|
17 years ago |
Felix von Leitner
|
9a765ad112
|
Support Solaris 9 sendfile
|
17 years ago |
Felix von Leitner
|
2edb9fb227
|
#define _LARGEFILE64_SOURCE
|
17 years ago |