]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: If log write returns EAGAIN, use poll() instead of ioloop for waiting
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 18 Jun 2018 13:19:55 +0000 (16:19 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 18 Jun 2018 18:12:12 +0000 (21:12 +0300)
commitdaaf815130366bdea71bad9f7902bb4b89ac4380
treea037c63cdf42471b213609e6a89aaf547177202c
parentad5447e35bc9028f595fe067599bc632065e2601
lib: If log write returns EAGAIN, use poll() instead of ioloop for waiting

As explained in 861d40b9aebabccae7d48e49a18cbc631ab1fefe commit message,
ioloop can call various callbacks and it can also recurse back to error
logging. Using poll() directly is safer.
src/lib/failures.c