[dovecot/core] 330041: lib-imap-client: Fix IO after enabling SSL

GitHub noreply at github.com
Thu Feb 8 14:30:11 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 330041c14a44e40deee4670d725cf8ba8bc00673
      https://github.com/dovecot/core/commit/330041c14a44e40deee4670d725cf8ba8bc00673
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  lib-imap-client: Fix IO after enabling SSL

io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.


  Commit: 14995d3b1e547f84ec55314d53a9f0bbd1110b0d
      https://github.com/dovecot/core/commit/14995d3b1e547f84ec55314d53a9f0bbd1110b0d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M src/doveadm/server-connection.c

  Log Message:
  -----------
  doveadm: client: Set IO only after enabling SSL

io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.


  Commit: ed567dac7e55ab3e8dd53d9c86c31ebb2032d4df
      https://github.com/dovecot/core/commit/ed567dac7e55ab3e8dd53d9c86c31ebb2032d4df
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

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

  Log Message:
  -----------
  lib: Add connection_streams_changed()

Originally by Stephan Bosch


  Commit: 1a145e6ad48c860a2a174996299489b6669e410b
      https://github.com/dovecot/core/commit/1a145e6ad48c860a2a174996299489b6669e410b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M src/lib-smtp/smtp-client-connection.c

  Log Message:
  -----------
  lib-smtp: Recreate connection IO after streams change

This fixes hangs after STARTTLS.

Originally by Stephan Bosch


  Commit: 5a9bbcb13b2dd2cf9a825c7ed09fe7ee143b1275
      https://github.com/dovecot/core/commit/5a9bbcb13b2dd2cf9a825c7ed09fe7ee143b1275
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

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

  Log Message:
  -----------
  lib: Add i_stream_get_root_io() and use it to deduplicate code


  Commit: d3ce8bae67c6a73c4d068fbb3d59a5a990c9acd9
      https://github.com/dovecot/core/commit/d3ce8bae67c6a73c4d068fbb3d59a5a990c9acd9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M src/lib-ssl-iostream/iostream-openssl.c

  Log Message:
  -----------
  lib-ssl-iostream: Assert-crash if input stream has IO already set


Compare: https://github.com/dovecot/core/compare/2da20ac5a4af...d3ce8bae67c6


More information about the dovecot-cvs mailing list