[dovecot/core] 05d128: fs-randomfail: Set errno=EIO when random failure i...

GitHub noreply at github.com
Wed Jun 21 14:00:11 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 05d12810ed20a2d1271410b953e1f2b5a8595b71
      https://github.com/dovecot/core/commit/05d12810ed20a2d1271410b953e1f2b5a8595b71
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M src/lib-fs/fs-randomfail.c

  Log Message:
  -----------
  fs-randomfail: Set errno=EIO when random failure is triggered

Previously the errno wasn't set at all. It was especially bad if it
happened to be EAGAIN, because that potentially caused hangs.




More information about the dovecot-cvs mailing list