174 Commits (f3c0e699880621974d823679290afaf6a60ff06c)

Author SHA1 Message Date
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
11 years ago
leitner c608502cd8 add scan_ulongn, scan_8longn, scan_xlongn, scan_longn, scan_netstring 11 years ago
leitner f7fee036c1 SECURITY: check for integer overflow in stralloc_ready 11 years ago
leitner 18afec7d68 scan_*longlong now properly abort if the number would not fit 11 years ago
leitner dd4f86fbfa add some unit tests for the formatting routines 11 years ago
leitner 875c0dc491 add haveuint128.h
byte.h now defines UNALIGNED_ACCESS_OK on x86
11 years ago
leitner 37013d414b add compiletimeassert.h 12 years ago
leitner f7606283c8 add byte_equal_notimingattack 13 years ago
leitner 852608b829 add awesome hack in isset.h (comex, Linus Torvalds) 13 years ago
leitner e175800a8c add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
13 years ago
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)
14 years ago
leitner b4469f1ed8 support SCTP in addition to TCP 15 years ago
leitner bb9cdaaafb add iarray 16 years ago
leitner 02818883df add buffer_tosa (buffer writing to auto-growing stralloc) 16 years ago
leitner 1d76baf2ef save 8 bytes in taia.h for 64-bit systems 16 years ago
leitner cef03a0cfe version bump 16 years ago
leitner 6d4c89ea72 byte_zero is also miscompiled by gcc 4.3.2 16 years ago
leitner a8a5e9a3d5 some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
17 years ago
leitner 58a07defd7 add uint64 pack and unpack routines 17 years ago
leitner a38b7946a4 0.28 17 years ago
leitner 72eba9bf79 catch one more case in umult64 (Tomi Jylhä-Ollila) 17 years ago
leitner 22f88f6550 add socket_deferaccept 17 years ago
leitner 527efc70b6 add iob_addbuf_munmap 17 years ago
leitner aa435fbee3 add fmt_strm 17 years ago
leitner 3c5ca2a2ad version bump 18 years ago
leitner 3c31c1a03b fmt_xlonglong was utterly broken (Johannes Vetter) 18 years ago
leitner e0a6a1cb84 try to catch malicious input in textcode fmt_* functions 18 years ago
leitner 1b17f47def escape more in fmt_ldapescape 18 years ago
leitner b03a0e8a66 use inttypes.h to declare ints in uint*.h 18 years ago
leitner b0d5046428 fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov) 18 years ago
leitner d22de55cee add some int overflow check macros to rangecheck.h 18 years ago
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)
18 years ago
leitner fded0f3a22 version bump 18 years ago
leitner f046d1cdc1 add iob_bytesleft
don't leak memory in test/httpd.c
18 years ago
leitner 3004b518ef switch to size_t and ssize_t 18 years ago
leitner 66b342099c add asm versions of imult64 and umult64 for x86_64
(22 cycles -> 12 cycles on my Athlon 64)
19 years ago
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)
19 years ago
leitner d361d81c64 make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
19 years ago
leitner 3c291ea2a8 document adding io_block
add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
19 years ago
leitner dbd9fe1ea5 add rangecheck.h 19 years ago
leitner c24de6da57 add cdb 19 years ago
leitner 1486e8dd7b add taia_half 19 years ago
leitner 25c57a0b1b implement Nikola's idea to remove limit number of strings in errmsg 19 years ago
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.
19 years ago
leitner 9512cee614 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
20 years ago
leitner 75d75100d8 document changes 20 years ago
leitner c3c46494a6 version dump 20 years ago
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
20 years ago
leitner 8674c060a6 document kludge 20 years ago
leitner 0a47d9ea13 fix scan_to_sa (Tim Lorenz) 20 years ago