Commit Graph

1021 Commits (f045b33647c84b545554c8dda27b9f8f7c1d4dae)
 

Author SHA1 Message Date
leitner f3c6288559 fix base64 decoding
leitner bffb1dab90 mention prototype of io_write_callback
leitner 86cfc33dab add iob_write (send io batch through callback, e.g. for SSL)
leitner b48ce77792 add iob_write (to write an io batch through a callback)
leitner ccba2abe9b add RETURN VALUE to man page
leitner 0b30b66db1 remove warnings in tests
leitner ff026235d2 #include <fmt.h>
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
leitner 38ef27207a add buffer_putm and buffer_putmflush
leitner 5dfea5617e add buffer_putsaflush
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
leitner dd66bcb7c3 don't output newline if output is not going to terminal
leitner e95599085a use madvise MADV_PREFETCH to implement iob_prefetch
leitner 8873a442f2 man page update
leitner eb4e19fc23 add url to solaris 10 event notification api
leitner 132061b4d3 add { } while (0) trick to errmsg macros
leitner 897e787b5e remove warning (changed API from int to long)
leitner 156ba1d275 bump version
leitner 7c6b77840e argh, my sed cannot do \< ?!?
leitner 15502bb3c1 new Makefile, better dependencies for Makefile in GNUmakefile
leitner f4108178f2 fix case where iob_send sends all from io batch, but then new data is
added and iob_send is called again
leitner 523f6f4765 cosmetics: use write instead of writev if there is only one buffer to
write (looks nicer in strace)
leitner 2041392b9f oops, forgot to commit
leitner d3afa18c42 dns_name6_domain -> void
man page clarifications
leitner 155762ce19 Uh, it's <stdlib.h> and not <unistd.h>
leitner 112a38b9bb include <unistd.h> in errmsg.h for exit()
leitner 72382af11a Solaris compatibility for io_passfd and io_receivefd (untested, but at
least it compiles)
leitner 499ca6a307 also support ip6.arpa in addition to ip6.int
leitner 1e871b1c32 actually return 0 on success in io_passfd
leitner 696c5f872c add io_readwritefile, io_appendfile
leitner 11f0616cf3 work around broken Linux sendfile API (offset 64-bit but count 32-bit)
leitner ed1558cd3d darn!
leitner 4eb656485b somehow, errmsg_* keep disappearing
leitner afb0de8d34 make b64decode more useful
leitner 9e598be7e5 add sys/types.h
leitner 64465d5392 forgot to install errmsg.h
leitner 2b4cee341c new Makefile
leitner 768a46e304 argh more bsd
leitner a23757a317 bsd compat
leitner a6a00edd75 add errmsg API
leitner f26451c086 slight optimization for sending 0 bytes from a file
(also fixes a FreeBSD-current sendfile breakage)
leitner d04293fd4f another brown paper bag release
leitner 477da5466d botched dependency
leitner fd5a2b7a9a havealloca.a is now dynamically generated
leitner f543993669 document changes
leitner 8e104ff975 add alloca test
leitner 7b413a4671 version bump
leitner 4ff7fd760b also remove havealloca.h on make clean
leitner 5e2141e9f6 fix bug in mmap code path of io_sendfile (David Leadbeater)
leitner 3fd4c515ae fix embarassing bug