03915cfec4eb1b5a65e5b6b676c8f4151bc80351 |
|
05-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: istream-file/unix - don't ignore EINTR for blocking istream reads
Just fail the istream read entirely. Although there's a small possibility
that this interrupt was unwanted and should be retried, it's more likely
that a blocking istream is hanging and admin wants to stop the process.
If the EINTR is ignored all the time, it's not possible to abort a
blocking read with ^C or anything else than SIGKILL. |