leitner
39e7ee90bb
introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz)
2014-06-05 20:43:01 +00:00
leitner
a544abc39c
switch io_fds from array to newly implemented (hopefully thread-safe) iarray
...
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00
leitner
c608502cd8
add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring
2014-03-15 22:24:14 +00:00
leitner
f7fee036c1
SECURITY: check for integer overflow in stralloc_ready
2014-03-14 18:56:07 +00:00
leitner
18afec7d68
scan_*longlong now properly abort if the number would not fit
2014-03-14 01:33:03 +00:00
leitner
dd4f86fbfa
add some unit tests for the formatting routines
2014-02-25 18:59:20 +00:00
leitner
875c0dc491
add haveuint128.h
...
byte.h now defines UNALIGNED_ACCESS_OK on x86
2013-09-09 18:52:29 +00:00
leitner
37013d414b
add compiletimeassert.h
2013-02-22 11:00:32 +00:00
leitner
f7606283c8
add byte_equal_notimingattack
2012-05-16 18:02:30 +00:00
leitner
852608b829
add awesome hack in isset.h (comex, Linus Torvalds)
2012-04-17 21:26:31 +00:00
leitner
e175800a8c
add io_fd_canwrite (like io_fd but assume the fd is writable)
...
save a few syscalls here and there
2012-04-10 21:15:51 +00:00
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