181 Commits (c60c2425ce3ad8566f62db4b9a80d252a8c877e2)

Author SHA1 Message Date
leitner 4fa4a524d2 add io_fd_flags so the caller can tell io_fd whether the socket is blocking
(saves one fcntl syscall)
10 years ago
leitner 3885650d81 on Linux, in iob_send, if MSG_MORE is defined, and the request type
lends itself to it, used sendto/sendmsg with MSG_MORE instead of
    TCP_CORK (saves two syscalls)
10 years ago
leitner 88167b5ce1 add socket_fastopen, socket_fastopen_connect4, socket_fastopen_connect6 and socket_quickack 10 years ago
leitner 8bdf66a1f5 add scan_html_tagarg 10 years ago
leitner 0aa50a19a4 add fmt_html_tagarg, fmt_xml 10 years ago
leitner 7c5d119f9a fix buffer_get 10 years ago
leitner 39e7ee90bb introduce io_eagain_read and io_eagain_write (discontinue using io_eagain plz) 11 years ago
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