leitner
f954d96659
*** empty log message ***
2003-10-19 17:21:14 +00:00
leitner
963fa817de
guard against one descriptor being flagged twice
2003-10-19 16:38:31 +00:00
leitner
b01e72af69
quick fix to non-block issue
2003-10-19 10:38:39 +00:00
leitner
eaa4dea67b
correctly initialize records before reusing them in io_fd
...
do something about unexpected epoll events
2003-10-12 16:50:55 +00:00
leitner
29ae01d54f
glibc compatibility ;)
2003-10-10 20:13:07 +00:00
leitner
4ef284ccd5
use <fcntl.h> and not <sys/fcntl.h>
2003-10-10 17:13:38 +00:00
leitner
35e0e1a7c0
that wasn't it
2003-10-10 01:10:22 +00:00
leitner
620f269149
this time "make Makefile" actually produces a Makefile that works on FreeBSD
2003-10-07 16:40:20 +00:00
leitner
2e1da4790c
alloca may be defined in stdlib.h
2003-10-07 16:30:19 +00:00
leitner
9366672ea5
more cvsignoring
2003-10-07 16:29:16 +00:00
leitner
d00a672dad
alloca warning removal
2003-10-07 16:28:57 +00:00
leitner
b295650a73
even better BSD make compat ;)
2003-10-07 16:27:54 +00:00
leitner
276577dd52
improve "make Makefile"
2003-10-07 16:22:51 +00:00
leitner
80a838177e
more documentation
2003-10-07 00:13:19 +00:00
leitner
2af3efb074
work around itojun BSD IPV6_ONLY brokenness
2003-10-06 18:16:38 +00:00
leitner
f6b5de0c93
forgot to include <unistd.h>
2003-10-06 02:03:43 +00:00
leitner
29075afaba
cvsignore havebsdsf.h
2003-10-06 01:56:24 +00:00
leitner
b97909c538
remove warning
2003-10-06 01:55:49 +00:00
leitner
0c64df2331
make BSD sendfile optional (NetBSD doesn't have it)
2003-10-06 01:54:49 +00:00
leitner
9541a22879
oops
2003-10-06 01:53:07 +00:00
leitner
736aba29ed
test for BSD sendfile
2003-10-06 01:52:13 +00:00
leitner
97043d279f
make io_waituntil actually take an "until", not a "how long"
...
fix io_timeouted to ignore fds where no timeout has been set
2003-10-02 23:30:53 +00:00
leitner
3279ca84f8
don't use black list for urlencoding, use white list.
2003-09-29 01:12:36 +00:00
leitner
57e7673e42
one more strip for cosmetical reasons
2003-09-27 02:05:22 +00:00
leitner
f5c135d0d2
bug fix
2003-09-26 19:27:59 +00:00
leitner
071fc272b6
add clever hack to auto-detect the diet libc
2003-09-26 18:22:46 +00:00
leitner
3dd2a0344b
damn!
2003-09-26 16:16:01 +00:00
leitner
c64f721daf
oops, typo
2003-09-26 16:15:04 +00:00
leitner
519b512cc3
kqueue does not like timeout==-1 but wants a NULL pointer to wait
...
indefinitely
2003-09-26 16:14:03 +00:00
leitner
91368629ad
two internal structures were named io_entry; renamed the iob one to iob_entry
2003-09-26 15:55:44 +00:00
leitner
3ec95df805
can't happen error should be -3 not -1
2003-09-24 23:36:00 +00:00
leitner
1de7812da2
man am I slow today
2003-09-24 23:32:42 +00:00
leitner
c574ab3641
two more iob fixes
2003-09-24 23:31:35 +00:00
leitner
c901631a00
embarassing cut&paste error
2003-09-24 22:51:40 +00:00
leitner
056760c5f1
add cescape stuff and two tests
2003-09-19 19:08:51 +00:00
leitner
a8f6a1c121
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
leitner
e86a457f5c
harmonize semantics of io_sendfile and iob_send
2003-09-19 15:26:00 +00:00
leitner
85bfbeb420
only write dest if we actually parsed something
2003-09-19 14:54:40 +00:00
leitner
5b599cb67d
fix httperror in httpd test
2003-09-18 17:02:54 +00:00
leitner
93e07c1174
add + to unsafe characters in fmt_urlencoded
2003-09-15 10:45:26 +00:00
leitner
7732d63465
cvsignore havesigio.h
2003-09-12 23:19:34 +00:00
leitner
8b3a1328a3
oops, forgot to add sigio test program
2003-09-12 23:18:51 +00:00
leitner
2a2e1ddc75
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
leitner
5a4d2cc732
add iob.h to installed header files
2003-09-12 11:39:02 +00:00
leitner
3e2f6d0439
add stupid little httpd
2003-09-10 01:59:12 +00:00
leitner
ea8e1cc90b
add iob_adds
...
add cookies to io
2003-09-10 00:28:51 +00:00
leitner
c2453002d3
add small explanation to iob.h
2003-09-08 21:05:27 +00:00
leitner
6b59c8aee7
add TCP_CORK support
2003-09-08 20:58:40 +00:00
leitner
8fd1875041
make iob_send return aggregate total
2003-09-08 20:52:00 +00:00
leitner
3c4f34b95e
add loop
2003-09-08 20:48:08 +00:00