[dovecot/core] 159de4: lib: istream-seekable - Fix reading when parent st...

GitHub noreply at github.com
Wed Jun 14 16:30:12 EEST 2017


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

  Changed paths:
    M src/lib/istream-seekable.c

  Log Message:
  -----------
  lib: istream-seekable - Fix reading when parent stream's content is larger than max_buffer_size

When writing the parent stream to fd and trying to read it back, it would
try to enforce the max_buffer_size and fail with:

istream-seekable: Couldn't read back in-memory input ...: buffer full

But since the data was already in buffer, istream-seekable shouldn't try to
enforce it at this point anymore.




More information about the dovecot-cvs mailing list