91 Commits

Author SHA1 Message Date
leitner
aa435fbee3 add fmt_strm 2007-10-09 13:49:26 +00:00
leitner
3c31c1a03b fmt_xlonglong was utterly broken (Johannes Vetter) 2007-08-01 00:10:37 +00:00
leitner
1b17f47def escape more in fmt_ldapescape 2007-06-28 20:01:05 +00:00
leitner
b2be335043 win32 compat 2007-05-02 06:26:43 +00:00
leitner
4fec25060b small man page updates and add a cdbget test 2007-04-30 05:08:28 +00:00
leitner
b0d5046428 fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov) 2007-03-04 13:13:19 +00:00
leitner
ff1805d310 remove unnecessary casts in test/uudecode 2007-02-25 17:13:30 +00:00
leitner
d22de55cee add some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
leitner
6358d73f64 use a non-blocking socket (oops) 2006-12-19 13:21:09 +00:00
leitner
f046d1cdc1 add iob_bytesleft
don't leak memory in test/httpd.c
2006-12-19 13:19:32 +00:00
leitner
e443e06b28 #include <strlen.h> 2006-12-06 16:51:06 +00:00
leitner
3004b518ef switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
leitner
0e190f60ab make uudecode print offsets, too 2006-09-27 14:16:29 +00:00
leitner
5d6ab12b28 catch write error in uudecode 2006-08-15 18:15:14 +00:00
leitner
f7e6432a2b convert test programs from socket_tcp[46] to socket_tcp[46]b 2006-07-15 23:17:46 +00:00
leitner
83c1186870 fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
2006-06-23 03:53:16 +00:00
leitner
d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
2006-05-18 06:02:43 +00:00
leitner
dbd9fe1ea5 add rangecheck.h 2006-04-17 04:33:40 +00:00
leitner
c1c50c7dbd further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
2005-09-09 22:12:23 +00:00
leitner
19202d2320 turns out the imult routines (which I never used) were incorrect.
Noted by Matthew Dempsky
  open_* from open.h now open in large file mode
2005-07-15 20:57:07 +00:00
leitner
6196f771cd remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
2005-05-05 15:55:41 +00:00
leitner
9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
2005-03-08 14:56:36 +00:00
leitner
34df761a0a add buffer_mmapread 2005-01-04 22:38:00 +00:00
leitner
e520740f09 add proxy, use errmsg.h in test/dnsip 2004-12-17 11:50:40 +00:00
leitner
5553129f01 fix uudecode to also decode one yenc file I came across 2004-12-05 00:40:23 +00:00
leitner
f3c6288559 fix base64 decoding 2004-11-26 22:36:06 +00:00
leitner
b48ce77792 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
leitner
0b30b66db1 remove warnings in tests 2004-11-25 21:52:35 +00:00
leitner
ff026235d2 #include <fmt.h> 2004-11-25 21:32:00 +00:00
leitner
dd66bcb7c3 don't output newline if output is not going to terminal 2004-11-22 00:33:12 +00:00
leitner
897e787b5e remove warning (changed API from int to long) 2004-08-01 22:51:33 +00:00
leitner
ed1558cd3d darn! 2004-05-07 00:12:30 +00:00
leitner
afb0de8d34 make b64decode more useful 2004-05-06 20:44:14 +00:00
leitner
70e112b892 add fd passing functions 2004-02-27 14:47:31 +00:00
leitner
d1df8e4b7b add two useful little test programs 2004-02-26 18:01:15 +00:00
leitner
fa476a9200 add experimental prefetching support 2004-01-07 15:58:44 +00:00
leitner
f52aa87441 more alloca fixes 2004-01-06 23:35:06 +00:00
leitner
3fe23979fd skip initial slashes 2003-11-23 21:09:18 +00:00
leitner
056760c5f1 add cescape stuff and two tests 2003-09-19 19:08:51 +00:00
leitner
e86a457f5c harmonize semantics of io_sendfile and iob_send 2003-09-19 15:26:00 +00:00
leitner
5b599cb67d fix httperror in httpd test 2003-09-18 17:02:54 +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
3e2f6d0439 add stupid little httpd 2003-09-10 01:59:12 +00:00
leitner
8fd1875041 make iob_send return aggregate total 2003-09-08 20:52:00 +00:00
leitner
63ba06c763 add iob test 2003-09-08 20:32:43 +00:00
leitner
c080055248 make the accepted connections non-blocking, too 2003-09-06 02:44:21 +00:00
leitner
149c908c8a more error messages in io5 test 2003-09-06 00:07:23 +00:00
leitner
325a6176ca 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
leitner
ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
leitner
f2d8be239f oops, forgot ! 2003-09-05 21:12:24 +00:00