History log of /dovecot/src/lib/iostream-temp.h
Revision Date Author Comments Expand
d97f081a3de44852197ced772e21560c108895a6 15-Sep-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

iostream-temp: If write() to temp file fails at any time, move it back to memory. Similarly to if the write() to temp fails during the initial move attempt. This way even if write() fails due to out of disk space, it's not visible to caller. An error message is logged in any case.

8a8a3b43987b5ade914f22765e51c9e3de8179d3 23-Feb-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

lib: Added iostream_temp_create_sized() to specify the max in-memory size

2f4f603d4cebab2cc956c72164efb02da83515c5 14-Nov-2014 Timo Sirainen <tss@iki.fi>

lib: Added iostream_temp_create_named()

baf346e71ebd7b44fcba4b48f4d39845453b778b 03-Feb-2013 Timo Sirainen <tss@iki.fi>

iostream-temp: Avoid copying data if IOSTREAM_TEMP_FLAG_TRY_FD_DUP is set.

cf636afb3826f0d8e15c248aa1fc04ce72820e08 26-Nov-2012 Timo Sirainen <tss@iki.fi>

Added iostream-temp for easily creating a temporary istream (to memory/file).