Commit Graph

278 Commits (68120bb1423af6d6ce17a460da6456a03368639c)
 

Author SHA1 Message Date
leitner 68120bb142 add ..._free variants
leitner 9d47e5b702 added FROMBUF_FREE
leitner 0ba7b25005 make iob_reset actually free the buffers
leitner 543987da58 remove superfluous #includes
make it possibly to specify that a buffer should be freed
leitner 1034218fae namespace cleanliness
leitner 27ffe564a7 set flag only if setting to non-blocking worked
leitner aeb609627b add "extern" before variables
leitner fcd6082250 did not compile on BSD after SIGIO fix
leitner 209fef467e Big Duh! _SIGIO and SIGIO look too close
leitner ec060d6dee wrong fix
leitner 07a205405b Add DEBUG=1 to GNUmakefile
the epoll guard broke SIGIO
leitner f954d96659 *** empty log message ***
leitner 963fa817de guard against one descriptor being flagged twice
leitner b01e72af69 quick fix to non-block issue
leitner eaa4dea67b correctly initialize records before reusing them in io_fd
do something about unexpected epoll events
leitner 29ae01d54f glibc compatibility ;)
leitner 4ef284ccd5 use <fcntl.h> and not <sys/fcntl.h>
leitner 35e0e1a7c0 that wasn't it
leitner 620f269149 this time "make Makefile" actually produces a Makefile that works on FreeBSD
leitner 2e1da4790c alloca may be defined in stdlib.h
leitner 9366672ea5 more cvsignoring
leitner d00a672dad alloca warning removal
leitner b295650a73 even better BSD make compat ;)
leitner 276577dd52 improve "make Makefile"
leitner 80a838177e more documentation
leitner 2af3efb074 work around itojun BSD IPV6_ONLY brokenness
leitner f6b5de0c93 forgot to include <unistd.h>
leitner 29075afaba cvsignore havebsdsf.h
leitner b97909c538 remove warning
leitner 0c64df2331 make BSD sendfile optional (NetBSD doesn't have it)
leitner 9541a22879 oops
leitner 736aba29ed test for BSD sendfile
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
leitner 3279ca84f8 don't use black list for urlencoding, use white list.
leitner 57e7673e42 one more strip for cosmetical reasons
leitner f5c135d0d2 bug fix
leitner 071fc272b6 add clever hack to auto-detect the diet libc
leitner 3dd2a0344b damn!
leitner c64f721daf oops, typo
leitner 519b512cc3 kqueue does not like timeout==-1 but wants a NULL pointer to wait
indefinitely
leitner 91368629ad two internal structures were named io_entry; renamed the iob one to iob_entry
leitner 3ec95df805 can't happen error should be -3 not -1
leitner 1de7812da2 man am I slow today
leitner c574ab3641 two more iob fixes
leitner c901631a00 embarassing cut&paste error
leitner 056760c5f1 add cescape stuff and two tests
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
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send
leitner 85bfbeb420 only write dest if we actually parsed something
leitner 5b599cb67d fix httperror in httpd test