[dovecot/core] 71aed7: lib: i_stream_get_max_buffer_size() checks also pa...

GitHub noreply at github.com
Wed Jun 1 17:00:12 UTC 2016


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

  Changed paths:
    M src/lib/istream.c
    M src/lib/istream.h

  Log Message:
  -----------
  lib: i_stream_get_max_buffer_size() checks also parents' max sizes

This fixes i_stream_get_max_buffer_size() to work correctly with
istream-chain.


  Commit: 0928812e725cd3a4debab2a93d0c9b0436a4de9f
      https://github.com/dovecot/core/commit/0928812e725cd3a4debab2a93d0c9b0436a4de9f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M src/lib-compression/istream-bzlib.c
    M src/lib-compression/istream-lz4.c
    M src/lib-compression/istream-lzma.c
    M src/lib-compression/istream-zlib.c
    M src/lib-fs/istream-fs-file.c
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/istream-binary-converter.c
    M src/lib-mail/istream-header-filter.c
    M src/lib-mail/istream-qp-decoder.c
    M src/lib-ssl-iostream/istream-openssl.c
    M src/lib-test/test-common.c
    M src/lib/istream-concat.c
    M src/lib/istream.c

  Log Message:
  -----------
  global: Use i_stream_get_max_buffer_size() wherever possible

After 7be8ba0c0 it's no longer correct to access stream->max_buffer_size
directly. These changes fix using istream-chain with various wrapper
streams.


Compare: https://github.com/dovecot/core/compare/7be8ba0c0462...0928812e725c


More information about the dovecot-cvs mailing list