170 Commits (21ca7d8264a18bf7a6198b3b144f7d3b92e3229c)

Author SHA1 Message Date
Felix von Leitner f03d88a4c7 add some unit tests for the formatting routines 9 years ago
Felix von Leitner addc8cd318 add haveuint128.h
byte.h now defines UNALIGNED_ACCESS_OK on x86
10 years ago
Felix von Leitner 830241e86d add compiletimeassert.h 10 years ago
Felix von Leitner c5a5c2d6bf add byte_equal_notimingattack 11 years ago
Felix von Leitner 9b249f6fa7 add awesome hack in isset.h (comex, Linus Torvalds) 11 years ago
Felix von Leitner 3743706899 add io_fd_canwrite (like io_fd but assume the fd is writable)
save a few syscalls here and there
11 years ago
Felix von Leitner 100ac91c79 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)
13 years ago
Felix von Leitner 71b6e8fa00 support SCTP in addition to TCP 13 years ago
Felix von Leitner 233649d680 add iarray 14 years ago
Felix von Leitner 97161ed0df add buffer_tosa (buffer writing to auto-growing stralloc) 14 years ago
Felix von Leitner 4243bd22ec save 8 bytes in taia.h for 64-bit systems 14 years ago
Felix von Leitner a4a7ba2f11 version bump 15 years ago
Felix von Leitner 6dda2ae244 byte_zero is also miscompiled by gcc 4.3.2 15 years ago
Felix von Leitner 6d98b442ab some valgrind de-noising
fix subtle typo in sub_of (David Sirovsky)
15 years ago
Felix von Leitner b8a94d5b7b add uint64 pack and unpack routines 15 years ago
Felix von Leitner 7dd128e089 0.28 15 years ago
Felix von Leitner 5e8d303443 catch one more case in umult64 (Tomi Jylhä-Ollila) 16 years ago
Felix von Leitner c173ad3273 add socket_deferaccept 16 years ago
Felix von Leitner 17d867ddb6 add iob_addbuf_munmap 16 years ago
Felix von Leitner 1c8ffa9021 add fmt_strm 16 years ago
Felix von Leitner 6d718ded41 version bump 16 years ago
Felix von Leitner dc6ea1902b fmt_xlonglong was utterly broken (Johannes Vetter) 16 years ago
Felix von Leitner fd63810d89 try to catch malicious input in textcode fmt_* functions 16 years ago
Felix von Leitner 0f90f8eb71 escape more in fmt_ldapescape 16 years ago
Felix von Leitner 2fd48c7e57 use inttypes.h to declare ints in uint*.h 16 years ago
Felix von Leitner 7109a42c30 fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov) 16 years ago
Felix von Leitner b5c41baade add some int overflow check macros to rangecheck.h 16 years ago
Felix von Leitner f064289d07 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)
16 years ago
Felix von Leitner f355b0b098 version bump 16 years ago
Felix von Leitner 51609b5628 add iob_bytesleft
don't leak memory in test/httpd.c
17 years ago
Felix von Leitner 0698149baf switch to size_t and ssize_t 17 years ago
Felix von Leitner d1aef8af83 add asm versions of imult64 and umult64 for x86_64
(22 cycles -> 12 cycles on my Athlon 64)
17 years ago
Felix von Leitner 56fb0a586d 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)
17 years ago
Felix von Leitner 071df9ee4a make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
17 years ago
Felix von Leitner 132a7ca159 document adding io_block
add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
17 years ago
Felix von Leitner dcbc90e2c6 add rangecheck.h 17 years ago
Felix von Leitner 03806dc0c8 add cdb 18 years ago
Felix von Leitner 97f3315947 add taia_half 18 years ago
Felix von Leitner c89e6b4fcc implement Nikola's idea to remove limit number of strings in errmsg 18 years ago
Felix von Leitner 2e87886163 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.
18 years ago
Felix von Leitner 4653054e12 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
18 years ago
Felix von Leitner 16168a5610 document changes 18 years ago
Felix von Leitner 93eb7241aa version dump 18 years ago
Felix von Leitner 237ff729b3 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
18 years ago
Felix von Leitner ee33cae46a document kludge 18 years ago
Felix von Leitner becc322e12 fix scan_to_sa (Tim Lorenz) 18 years ago
Felix von Leitner 3ed5acbc60 version bump 18 years ago
Felix von Leitner 8b2036b21e IRIX compatibility (yuck!) 18 years ago
Felix von Leitner e5c56dc6b0 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
18 years ago
Felix von Leitner 4f5117a604 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")
18 years ago