202 Commits (4f66a05d0bdc4787a9e59d498a4aa2b2b30bf0ff)

Author SHA1 Message Date
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
leitner 2a209a93c4 version bump 20 years ago
leitner c169ae9b4a IRIX compatibility (yuck!) 20 years ago
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
20 years ago
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")
20 years ago
leitner 05bf627d01 fix scan_xlong, scan_xlonglong and scan_8long 20 years ago
leitner c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*) 20 years ago
leitner 828aa295f1 optimize fmt_base64 (Dan Gundlach) 20 years ago
leitner 20c994bf59 fix a few man pages 20 years ago
leitner 9210337fa5 turns out there is one more error message that can signal missing IPv6
support in the kernel
20 years ago
leitner 2ec9f6dc9f version bump 20 years ago
leitner 11da04b651 fix descriptor leak in iob_addfile_close if the range was 0 (oops) 20 years ago
leitner e9e8886089 fix mmap_shared 20 years ago
leitner 9eb09b5bfe add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
20 years ago
leitner bbf4c614bf fix iob_write to handle failure properly
document that the iob_write callback should limit itself
20 years ago
leitner f8d16ad407 document scan_urlencoded2 20 years ago
leitner 9cc9bf0e1b attribute 20 years ago
leitner f4c8a0c7c2 fix openbsd problem? 20 years ago
leitner d6b7c29808 uh, the scope_id detection #defined the wrong constant. libowfat
always thought there was no scope_id.  Oops.
20 years ago
leitner 4a3c687ea9 version bump 20 years ago
leitner 3407e87536 fix make tar target 20 years ago
leitner fd4344f3c0 how could this ever have worked? 20 years ago
leitner b617d63d1e update dependencies
add errmsg_info and msg
20 years ago
leitner 86cfc33dab add iob_write (send io batch through callback, e.g. for SSL) 20 years ago
leitner b48ce77792 add iob_write (to write an io batch through a callback) 20 years ago
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
20 years ago
leitner 38ef27207a add buffer_putm and buffer_putmflush 20 years ago
leitner 5dfea5617e add buffer_putsaflush 20 years ago
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
20 years ago
leitner e95599085a use madvise MADV_PREFETCH to implement iob_prefetch 20 years ago
leitner 8873a442f2 man page update 20 years ago
leitner 156ba1d275 bump version 21 years ago
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
21 years ago
leitner 499ca6a307 also support ip6.arpa in addition to ip6.int 21 years ago
leitner 696c5f872c add io_readwritefile, io_appendfile 21 years ago
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit) 21 years ago
leitner a6a00edd75 add errmsg API 21 years ago
leitner d04293fd4f another brown paper bag release 21 years ago
leitner f543993669 document changes 21 years ago
leitner 7b413a4671 version bump 21 years ago
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater) 21 years ago
leitner b65d281e53 fix byte_rchr return value (Marcus Winkler) 21 years ago
leitner d8ce4dc2e5 fix signal race (Scott Lamb) 21 years ago
leitner 75c0d8546c add safemult man pages 21 years ago
leitner 4aecd26995 add more man pages 21 years ago
leitner 1d9075071f add some man pages 21 years ago
leitner 70e112b892 add fd passing functions 21 years ago
leitner 745c4affc5 add io_socketpair 21 years ago
leitner d1df8e4b7b add two useful little test programs 21 years ago
leitner 751b791701 document changes 21 years ago
leitner bf2678e1f1 bump version 21 years ago
leitner 25181575b6 fix ip6_fmt (martin paljak) 21 years ago
leitner c4828b888a credit for AIX and MacOS 21 years ago
leitner f21e1c57a3 macos x support 21 years ago
leitner f484ecdc5f support HP-UX sendfile (thanks Rolf Eike Beer) 21 years ago
leitner f52aa87441 more alloca fixes 21 years ago
leitner 0bae11b63e remove socket_sendfile now that we have io_sendfile
make Makefile should also work with a BSD make ;)
21 years ago
leitner 6fdd2a9078 appending zero bytes to an empty array failed it 21 years ago
leitner 884e0b09b8 head -1 -> head -n 1 21 years ago
leitner 82a4ae868d broken lose32 port using mingw (don't use!!!)
initial Solaris /dev/poll port
21 years ago
leitner f954d96659 *** empty log message *** 21 years ago
leitner 80a838177e more documentation 21 years ago
leitner 97043d279f make io_waituntil actually take an "until", not a "how long"
fix io_timeouted to ignore fds where no timeout has been set
21 years ago
leitner e86a457f5c harmonize semantics of io_sendfile and iob_send 21 years ago
leitner 2a2e1ddc75 add sigio support
extend code to cope with edge triggered event notification
add io_eagain() so that you can notify io_wait if accept() returned EAGAIN
22 years ago
leitner c2453002d3 add small explanation to iob.h 22 years ago
leitner b6258d3dfa remove obsolete extern from header files 22 years ago
leitner f1c7c0462b brag about my io exploits ;) 22 years ago
leitner 63e070c1cb add long long buffer routines
add tai64 and tai6464 typedefs
add error message buffer routines
add io timeout routines
22 years ago
leitner c845e84c37 add man pages for array API 22 years ago
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
22 years ago
leitner d1df715971 add API for integer multiplication with overflow detection 22 years ago
leitner a327b75831 add buffer_fromsa (make virtual buffer from stralloc) 22 years ago