Commit Graph

392 Commits (8184a8b3226f0b12bf07918f42e5a35362503c3a)

Author SHA1 Message Date
Felix von Leitner 894884a6ae kqueue does not like timeout==-1 but wants a NULL pointer to wait
indefinitely
2003-09-26 16:14:03 +00:00
Felix von Leitner d13335fed1 two internal structures were named io_entry; renamed the iob one to iob_entry 2003-09-26 15:55:44 +00:00
Felix von Leitner fb058ef5c0 can't happen error should be -3 not -1 2003-09-24 23:36:00 +00:00
Felix von Leitner c81c148631 man am I slow today 2003-09-24 23:32:42 +00:00
Felix von Leitner 21b86126f7 two more iob fixes 2003-09-24 23:31:35 +00:00
Felix von Leitner b76f4e9bdc embarassing cut&paste error 2003-09-24 22:51:40 +00:00
Felix von Leitner ae0cba982b add cescape stuff and two tests 2003-09-19 19:08:51 +00:00
Felix von Leitner 640edc1651 remove special case stralloc textcode functions
write generic stralloc and array textcode wrapper functions
change textcode API to use long instead of int
add cescape fmt and scan functions to textcode
add fmt_foldwhitespace to textcode
2003-09-19 19:08:13 +00:00
Felix von Leitner 2d27cd435b harmonize semantics of io_sendfile and iob_send 2003-09-19 15:26:00 +00:00
Felix von Leitner ec9299ff57 only write dest if we actually parsed something 2003-09-19 14:54:40 +00:00
Felix von Leitner fff6656e62 fix httperror in httpd test 2003-09-18 17:02:54 +00:00
Felix von Leitner 553e8d2593 add + to unsafe characters in fmt_urlencoded 2003-09-15 10:45:26 +00:00
Felix von Leitner 5f3d1e5483 cvsignore havesigio.h 2003-09-12 23:19:34 +00:00
Felix von Leitner f77d5615b0 oops, forgot to add sigio test program 2003-09-12 23:18:51 +00:00
Felix von Leitner 7a859cb66e add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
2003-09-12 22:03:51 +00:00
Felix von Leitner 4944158e8b add iob.h to installed header files 2003-09-12 11:39:02 +00:00
Felix von Leitner 44b65fa305 add stupid little httpd 2003-09-10 01:59:12 +00:00
Felix von Leitner c50a0b25df add iob_adds
add cookies to io
2003-09-10 00:28:51 +00:00
Felix von Leitner ffc6fb7cf8 add small explanation to iob.h 2003-09-08 21:05:27 +00:00
Felix von Leitner 0c06a13442 add TCP_CORK support 2003-09-08 20:58:40 +00:00
Felix von Leitner 72a8e9a633 make iob_send return aggregate total 2003-09-08 20:52:00 +00:00
Felix von Leitner fa6e83bc7b add loop 2003-09-08 20:48:08 +00:00
Felix von Leitner 63149c4ed9 add iob test 2003-09-08 20:32:43 +00:00
Felix von Leitner 533b9cadc0 bsd sendfile 2003-09-08 20:31:41 +00:00
Felix von Leitner 3bdee08a1f alloca.h 2003-09-08 20:31:01 +00:00
Felix von Leitner dbdba0237f experimental io_batch implementation 2003-09-08 20:29:39 +00:00
Felix von Leitner 7f6d876784 open files in large file mode 2003-09-08 17:43:02 +00:00
Felix von Leitner 42199d6c25 add io_timeouted 2003-09-08 17:37:23 +00:00
Felix von Leitner ffbd0f895b add io_sendfile with BSD support 2003-09-08 17:36:31 +00:00
Felix von Leitner 047b6400fc remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
Felix von Leitner f70b907066 make the accepted connections non-blocking, too 2003-09-06 02:44:21 +00:00
Felix von Leitner 4710df4444 brag about my io exploits ;) 2003-09-06 01:39:19 +00:00
Felix von Leitner cab3e9970c fix 2003-09-06 01:37:54 +00:00
Felix von Leitner 8c30d167c6 epoll now works enough for test/io5 2003-09-06 01:36:50 +00:00
Felix von Leitner e81432667d more kqueue/epoll 2003-09-06 01:15:00 +00:00
Felix von Leitner e9c1559f7e BSD still sucks 2003-09-06 00:56:21 +00:00
Felix von Leitner 4f44b2fe9f more bsd compat 2003-09-06 00:55:17 +00:00
Felix von Leitner 2bfd03db57 more BSD compat 2003-09-06 00:54:27 +00:00
Felix von Leitner 0e172d2f56 cvsignore the new tests and remove their results in make clean 2003-09-06 00:53:05 +00:00
Felix von Leitner cfdfd14b4c add epoll and kqueue tests 2003-09-06 00:52:11 +00:00
Felix von Leitner 3587b749d1 more error messages in io5 test 2003-09-06 00:07:23 +00:00
Felix von Leitner 2e1b8aef8e more BSD compat 2003-09-06 00:04:57 +00:00
Felix von Leitner 316a38ae42 more BSD compat 2003-09-06 00:03:27 +00:00
Felix von Leitner 5418c27f2a EPROTO -> EINVAL for BSD backwards compatibility (did I mention that BSD *sucks*?) 2003-09-05 23:59:17 +00:00
Felix von Leitner 200f07718d add io_canread and io_canwrite 2003-09-05 22:59:58 +00:00
Felix von Leitner 092b5f860b write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
2003-09-05 22:59:40 +00:00
Felix von Leitner d8d68112b8 add waituntil and waituntil2 (internal) 2003-09-05 21:29:05 +00:00
Felix von Leitner 7c5beaf741 reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
Felix von Leitner 28c1c46cad oops, forgot ! 2003-09-05 21:12:24 +00:00
Felix von Leitner 4c41a88194 add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
2003-09-05 21:09:14 +00:00