Commit Graph

39 Commits (ea849e7ebf2c13476771d2e111442a044fb6fe96)

Author SHA1 Message Date
Felix von Leitner ea849e7ebf a few missing headers and minor fixes 7 years ago
Felix von Leitner a606013ffd remove compiler warning 8 years ago
Felix von Leitner 62ec3d9b67 on Linux, save a few syscalls by using sendto/sendmsg with MSG_MORE 8 years ago
Felix von Leitner d8da202a8b introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) 8 years ago
Felix von Leitner 03df1685ba it turns out you don't need -1/EGAIN to know edge triggering told you 8 years ago
Felix von Leitner 68f5b64189 switch io_fds from array to newly implemented (hopefully thread-safe) iarray 9 years ago
Felix von Leitner 92b23094e1 use callback based infrastructure to reset iob's 15 years ago
Felix von Leitner 17d867ddb6 add iob_addbuf_munmap 15 years ago
Felix von Leitner 56fb0a586d fix for NetBSD 3.0 (they broke their sys/types.h) 16 years ago
Felix von Leitner 2e87886163 further Windoze support (test/io5.c works, gatling still doesn't) 17 years ago
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 18 years ago
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback) 18 years ago
Felix von Leitner 315ab58746 fix case where iob_send sends all from io batch, but then new data is 18 years ago
Felix von Leitner 1892543745 cosmetics: use write instead of writev if there is only one buffer to 18 years ago
Felix von Leitner 00dcef4652 add iob_addfile_close (iob_reset will close the files) 19 years ago
Felix von Leitner 31e62af122 writev fix 19 years ago
Felix von Leitner 5ea24edfec macos x support 19 years ago
Felix von Leitner e8c96ef3a7 macos x support 19 years ago
Felix von Leitner 67e1b495b6 recent change corrected sendfile parameters but not internal usage 19 years ago
Felix von Leitner 126e947ac2 add experimental prefetching support 19 years ago
Felix von Leitner c99799d0f8 more alloca fixes 19 years ago
Felix von Leitner 8c61125e21 make cast nicer 19 years ago
Felix von Leitner 4253ad69dd make BSD sendfile actually work 19 years ago
Felix von Leitner 187ed02a3b duh!!! Typo prevented iob_send from using FreeBSD sendfile 19 years ago
Felix von Leitner 91459e21f4 alloca may be defined in stdlib.h 19 years ago
Felix von Leitner aa62c9fa71 alloca warning removal 19 years ago
Felix von Leitner 320673aff8 make BSD sendfile optional (NetBSD doesn't have it) 19 years ago
Felix von Leitner d13335fed1 two internal structures were named io_entry; renamed the iob one to iob_entry 19 years ago
Felix von Leitner fb058ef5c0 can't happen error should be -3 not -1 19 years ago
Felix von Leitner 2d27cd435b harmonize semantics of io_sendfile and iob_send 19 years ago
Felix von Leitner 7a859cb66e add sigio support 19 years ago
Felix von Leitner c50a0b25df add iob_adds 19 years ago
Felix von Leitner 0c06a13442 add TCP_CORK support 19 years ago
Felix von Leitner 72a8e9a633 make iob_send return aggregate total 19 years ago
Felix von Leitner fa6e83bc7b add loop 19 years ago
Felix von Leitner 63149c4ed9 add iob test 19 years ago
Felix von Leitner 533b9cadc0 bsd sendfile 19 years ago
Felix von Leitner 3bdee08a1f alloca.h 19 years ago
Felix von Leitner dbdba0237f experimental io_batch implementation 19 years ago