145 Commits (d42c303f7183831df3a6e7f7fac0a73286ddd45c)

Author SHA1 Message Date
Felix von Leitner 79b9ad4ac0 off-by-one 17 years ago
Felix von Leitner f064289d07 fix really pathological case where io_timeouted would never
start over from the beginning because always new accept()ed
    connections came in and got newer, higher descriptors since the last
    io_timeouted loop.  (Dirk Engling)
17 years ago
Felix von Leitner ad2599ef2b make io_timeout clearer 17 years ago
Felix von Leitner 51609b5628 add iob_bytesleft
don't leak memory in test/httpd.c
17 years ago
Felix von Leitner 56fb0a586d fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
17 years ago
Felix von Leitner 071df9ee4a make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
17 years ago
Felix von Leitner 3c80bd9309 add io_block 17 years ago
Felix von Leitner b26cb901c3 remove printf 18 years ago
Felix von Leitner 2e87886163 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.
18 years ago
Felix von Leitner a8fb810465 io_close resets the cookie 18 years ago
Felix von Leitner 4653054e12 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
18 years ago
Felix von Leitner 2b3a136342 no debug 18 years ago
Felix von Leitner e01f09c988 don't shrink in array_allocate 18 years ago
Felix von Leitner 39747473ba add some debug stuff 18 years ago
Felix von Leitner e868cb15bb Uh, it's #warning and not #warn. *blush* 18 years ago
Felix von Leitner b83c6cbcbc Work around OpenBSD. Again. 18 years ago
Felix von Leitner 341c3fed85 work around broken Solaris sys/socket.h 18 years ago
Felix von Leitner 8b2036b21e IRIX compatibility (yuck!) 18 years ago
Felix von Leitner f4cfcbe6c6 remove gcc4-only warning option 18 years ago
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 18 years ago
Felix von Leitner 43ba9a595c silence two gcc warnings 18 years ago
Felix von Leitner d696df703f fix descriptor leak in iob_addfile_close if the range was 0 (oops) 18 years ago
Felix von Leitner 2cd700a10a byte_zero the allocated io_batch in iob_new 18 years ago
Felix von Leitner 2ea308d374 remove cruft 18 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)
18 years ago
Felix von Leitner 8d635a10fb document error case 18 years ago
Felix von Leitner 074eab6681 fix iob_write to handle failure properly
document that the iob_write callback should limit itself
19 years ago
Felix von Leitner a811de95f1 fix openbsd problem? 19 years ago
Felix von Leitner 10688c55b8 how could this ever have worked? 19 years ago
Felix von Leitner a99281c56d typo, found by Tino Reichardt 19 years ago
Felix von Leitner 562656b531 update dependencies
add errmsg_info and msg
19 years ago
Felix von Leitner 33eec6cc3e mention prototype of io_write_callback 19 years ago
Felix von Leitner f2d7a6b264 add iob_write (send io batch through callback, e.g. for SSL) 19 years ago
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback) 19 years ago
Felix von Leitner 017557490a use madvise MADV_PREFETCH to implement iob_prefetch 19 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
19 years ago
Felix von Leitner 1892543745 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
19 years ago
Felix von Leitner c431accd41 Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
19 years ago
Felix von Leitner 1213467cfe actually return 0 on success in io_passfd 19 years ago
Felix von Leitner c7adf4e307 add io_readwritefile, io_appendfile 19 years ago
Felix von Leitner 71cbad0f60 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 19 years ago
Felix von Leitner 9d014e1f36 bsd compat 19 years ago
Felix von Leitner 56ac77f629 argh more bsd 19 years ago
Felix von Leitner 878fbf64ac bsd compat 19 years ago
Felix von Leitner 21907d29cc slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
19 years ago
Felix von Leitner 0da1c0902d fix bug in mmap code path of io_sendfile (David Leadbeater) 19 years ago
Felix von Leitner f9bff979e2 fix signal race (Scott Lamb) 20 years ago
Felix von Leitner ca610274e0 explicitly define extern globals 20 years ago
Felix von Leitner 1f7895e25c document return values correctly 20 years ago
Felix von Leitner 08b13a1f18 <io.h> -> <iob.h> 20 years ago