b3b813a6473d1210eee94bd60eaa6bafd2131ed3 |
|
30-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib: iostream: Record the ioloop that the iostream was last switched to. |
5a1b498b646b5c5dbd1b3f3861df766f560578c5 |
|
21-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: When istream is destroyed, it now always unrefs the parent istream if it exists.
This way the implementations don't have to do it themselves in their
destroy() function. This change doesn't necessarily require changing the
existing code, because if the istream implementation already unrefs the
parent it gets set to NULL so the auto-unref won't be done. |
b554101f70e3f16380903c9a4ee87a2c96c1d322 |
|
23-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added io_stream_get_disconnect_reason() to iostream.h |
eb98a038ca8b0ef33d1d11794803ce09547496fa |
|
17-Jan-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added o_stream_add_destroy_callback() |
f4735bf7ec2019fdc730e9ebdb39e5a4ea580405 |
|
22-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
lib: Added [io]_stream_create_error_str() |
862ec874f9373e3e499e237d3b9f71fdf1413fee |
|
19-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
iostream: Added ability to set/get error strings for streams. |
1a0ece3e873e3864269ed7eaed957dc10c56d25f |
|
07-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
istream API change: Added support for multiple destroy callbacks. |
e2ce8d4a6ac5d82a906178148453e7613fab9ba0 |
|
13-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
iostreams: Added close_parent flag to close() handler and clarified close/destroy APIs.
This makes it unambiguous how things work: Unless you explicitly call
[io]_stream_close(), the parent streams won't be closed. This is what most
(hopefully all!) of the existing code expects.
I was wondering a bit if [io]_stream_destroy() should simply have been
removed and replaced with [io]_stream_unref() calls, since they would have
worked basically everywhere, but there might be some places where it's
better to have explicitly closed the stream (and where closing the parent
stream doesn't matter). |
0536ccb51d41e3078c3a9fa33e509fb4b2420f95 |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Renamed lib/*-internal.h files to lib/*-private.h for consistency. |