164 Commits

Author SHA1 Message Date
leitner
faa5bad9fc fix io_receivefd so the incoming buffer is only 1 byte; io_passfd
sends only one byte, so we might receive (and discard) other data if
    we try to read more (Stefan Bühler, from the lightttpd project)
2010-10-06 17:34:52 +00:00
leitner
b4469f1ed8 support SCTP in addition to TCP 2010-01-18 19:49:03 +00:00
leitner
bb9cdaaafb add iarray 2009-03-12 21:32:43 +00:00
leitner
02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 2009-02-28 00:07:55 +00:00
leitner
1d76baf2ef save 8 bytes in taia.h for 64-bit systems 2009-02-15 01:02:15 +00:00
leitner
cef03a0cfe version bump 2008-11-15 16:14:19 +00:00
leitner
6d4c89ea72 byte_zero is also miscompiled by gcc 4.3.2 2008-10-25 21:21:46 +00:00
leitner
a8a5e9a3d5 some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
2008-02-27 12:10:05 +00:00
leitner
58a07defd7 add uint64 pack and unpack routines 2008-01-13 21:40:24 +00:00
leitner
a38b7946a4 0.28 2007-12-18 14:32:55 +00:00
leitner
72eba9bf79 catch one more case in umult64 (Tomi Jylhä-Ollila) 2007-12-15 19:45:48 +00:00
leitner
22f88f6550 add socket_deferaccept 2007-11-02 00:39:51 +00:00
leitner
527efc70b6 add iob_addbuf_munmap 2007-10-17 13:06:56 +00:00
leitner
aa435fbee3 add fmt_strm 2007-10-09 13:49:26 +00:00
leitner
3c5ca2a2ad version bump 2007-08-24 21:36:29 +00:00
leitner
3c31c1a03b fmt_xlonglong was utterly broken (Johannes Vetter) 2007-08-01 00:10:37 +00:00
leitner
e0a6a1cb84 try to catch malicious input in textcode fmt_* functions 2007-06-28 21:00:40 +00:00
leitner
1b17f47def escape more in fmt_ldapescape 2007-06-28 20:01:05 +00:00
leitner
b03a0e8a66 use inttypes.h to declare ints in uint*.h 2007-06-28 13:38:08 +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
d22de55cee add some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
leitner
7b52bfc982 fix really pathological case where io_timeouted would never
start over from the beginning because always new accept()ed
    connections came in and got newer, higher descriptors since the last
    io_timeouted loop.  (Dirk Engling)
2007-01-24 18:28:39 +00:00
leitner
fded0f3a22 version bump 2007-01-12 02:15:57 +00:00
leitner
f046d1cdc1 add iob_bytesleft
don't leak memory in test/httpd.c
2006-12-19 13:19:32 +00:00
leitner
3004b518ef switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
leitner
66b342099c add asm versions of imult64 and umult64 for x86_64
(22 cycles -> 12 cycles on my Athlon 64)
2006-08-27 13:57:06 +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
3c291ea2a8 document adding io_block
add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
2006-04-17 05:09:39 +00:00
leitner
dbd9fe1ea5 add rangecheck.h 2006-04-17 04:33:40 +00:00
leitner
c24de6da57 add cdb 2005-11-25 15:02:31 +00:00
leitner
1486e8dd7b add taia_half 2005-10-14 15:37:19 +00:00
leitner
25c57a0b1b implement Nikola's idea to remove limit number of strings in errmsg 2005-10-14 15:33:21 +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
9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
2005-09-02 21:11:58 +00:00
leitner
75d75100d8 document changes 2005-08-24 19:22:06 +00:00
leitner
c3c46494a6 version dump 2005-08-09 18:14:10 +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
8674c060a6 document kludge 2005-07-01 19:30:52 +00:00
leitner
0a47d9ea13 fix scan_to_sa (Tim Lorenz) 2005-06-08 04:08:18 +00:00
leitner
2a209a93c4 version bump 2005-05-24 08:51:21 +00:00
leitner
c169ae9b4a IRIX compatibility (yuck!) 2005-05-20 14:14:15 +00:00
leitner
eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
2005-05-12 06:52:29 +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
05bf627d01 fix scan_xlong, scan_xlonglong and scan_8long 2005-04-25 19:41:51 +00:00
leitner
c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 2005-04-23 15:50:16 +00:00
leitner
828aa295f1 optimize fmt_base64 (Dan Gundlach) 2005-04-12 06:48:39 +00:00
leitner
20c994bf59 fix a few man pages 2005-04-07 06:49:59 +00:00
leitner
9210337fa5 turns out there is one more error message that can signal missing IPv6
support in the kernel
2005-04-07 05:52:55 +00:00
leitner
2ec9f6dc9f version bump 2005-03-11 22:38:36 +00:00