[dovecot/core] a9be54: lib-fs: fs-metawrap stat() error handling improvem...

GitHub noreply at github.com
Thu May 5 12:30:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a9be54bbbd815e0d2cfe1cd55e101802fb770a45
      https://github.com/dovecot/core/commit/a9be54bbbd815e0d2cfe1cd55e101802fb770a45
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-04 (Wed, 04 May 2016)

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

  Log Message:
  -----------
  lib-fs: fs-metawrap stat() error handling improvement.

We can't just treat i_stream_get_size() returning 0 as the reason being
istream is async and not fully read. It might be, but it might also be
because of other reasons. And since we're closing the istream we couldn't
even properly finish up the async handling. So for now just return an
error if we see this happening.


  Commit: b11876430fa29dbcd0e2fd41e329e472e66fbe7e
      https://github.com/dovecot/core/commit/b11876430fa29dbcd0e2fd41e329e472e66fbe7e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-05 (Thu, 05 May 2016)

  Changed paths:
    M src/stats/mail-user.c

  Log Message:
  -----------
  stats: Fixed ADD-USER stats tracking (auth stats)


Compare: https://github.com/dovecot/core/compare/07b3a7d8143c...b11876430fa2


More information about the dovecot-cvs mailing list