Updated copyright notices to include the year 2018.
lib: istream-failure-at: Allow setting the the stream_errno to something other than EIO.
global: Add flags parameter to i_stream_create() and set it to 0 This just changes the API - the following changes add the new flag.
Updated copyright notices to include the year 2017.
lib: remove unneccesary i_stream_unrefs of parent
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
lib: fix memory leaks in failure-at streams The parent wasn't getting unref'ed, and would hang around for ever. Signed-off-by: Phil Carmody <phil@dovecot.fi>
Various passthrough istreams didn't preserve readable_fd.
lib: Added i_stream_create_failure_at() to inject EIO at given offset in istream.