leitner
4ef284ccd5
use <fcntl.h> and not <sys/fcntl.h>
21 years ago
leitner
35e0e1a7c0
that wasn't it
21 years ago
leitner
620f269149
this time "make Makefile" actually produces a Makefile that works on FreeBSD
21 years ago
leitner
2e1da4790c
alloca may be defined in stdlib.h
21 years ago
leitner
9366672ea5
more cvsignoring
21 years ago
leitner
d00a672dad
alloca warning removal
21 years ago
leitner
b295650a73
even better BSD make compat ;)
21 years ago
leitner
276577dd52
improve "make Makefile"
21 years ago
leitner
80a838177e
more documentation
21 years ago
leitner
2af3efb074
work around itojun BSD IPV6_ONLY brokenness
21 years ago
leitner
f6b5de0c93
forgot to include <unistd.h>
21 years ago
leitner
29075afaba
cvsignore havebsdsf.h
21 years ago
leitner
b97909c538
remove warning
21 years ago
leitner
0c64df2331
make BSD sendfile optional (NetBSD doesn't have it)
21 years ago
leitner
9541a22879
oops
21 years ago
leitner
736aba29ed
test for BSD sendfile
21 years ago
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
21 years ago
leitner
3279ca84f8
don't use black list for urlencoding, use white list.
21 years ago
leitner
57e7673e42
one more strip for cosmetical reasons
21 years ago
leitner
f5c135d0d2
bug fix
21 years ago
leitner
071fc272b6
add clever hack to auto-detect the diet libc
21 years ago
leitner
3dd2a0344b
damn!
21 years ago
leitner
c64f721daf
oops, typo
21 years ago
leitner
519b512cc3
kqueue does not like timeout==-1 but wants a NULL pointer to wait
...
indefinitely
21 years ago
leitner
91368629ad
two internal structures were named io_entry; renamed the iob one to iob_entry
21 years ago
leitner
3ec95df805
can't happen error should be -3 not -1
21 years ago
leitner
1de7812da2
man am I slow today
21 years ago
leitner
c574ab3641
two more iob fixes
21 years ago
leitner
c901631a00
embarassing cut&paste error
21 years ago
leitner
056760c5f1
add cescape stuff and two tests
21 years ago
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
21 years ago
leitner
e86a457f5c
harmonize semantics of io_sendfile and iob_send
21 years ago
leitner
85bfbeb420
only write dest if we actually parsed something
21 years ago
leitner
5b599cb67d
fix httperror in httpd test
21 years ago
leitner
93e07c1174
add + to unsafe characters in fmt_urlencoded
22 years ago
leitner
7732d63465
cvsignore havesigio.h
22 years ago
leitner
8b3a1328a3
oops, forgot to add sigio test program
22 years ago
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
22 years ago
leitner
5a4d2cc732
add iob.h to installed header files
22 years ago
leitner
3e2f6d0439
add stupid little httpd
22 years ago
leitner
ea8e1cc90b
add iob_adds
...
add cookies to io
22 years ago
leitner
c2453002d3
add small explanation to iob.h
22 years ago
leitner
6b59c8aee7
add TCP_CORK support
22 years ago
leitner
8fd1875041
make iob_send return aggregate total
22 years ago
leitner
3c4f34b95e
add loop
22 years ago
leitner
63ba06c763
add iob test
22 years ago
leitner
a36316a0a5
bsd sendfile
22 years ago
leitner
7e7f07f382
alloca.h
22 years ago
leitner
4c2fb93a53
experimental io_batch implementation
22 years ago
leitner
eb554a0ceb
open files in large file mode
22 years ago