[dovecot/core] 2a590d: lib-ssl-iostream: openssl: Make verbose logging ro...

GitHub noreply at github.com
Thu Feb 8 12:30:19 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 2a590d14bddecd3c77e333682a09bb75876ee60c
      https://github.com/dovecot/core/commit/2a590d14bddecd3c77e333682a09bb75876ee60c
  Author: Stephan Bosch <stephan.bosch 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: openssl: Make verbose logging robust against i_debug() writing to stream itself.

In dsync, i_debug() is overridden to write to the SSL stream itself through a
multiplexed data stream. So, during the i_debug() call all kinds of things can
happen to the persisted error string in the stream, which caused problems.


  Commit: 97a391c22d5493a642e81af6f5d4a9078a4120f3
      https://github.com/dovecot/core/commit/97a391c22d5493a642e81af6f5d4a9078a4120f3
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M src/doveadm/doveadm-dsync.c

  Log Message:
  -----------
  doveadm: dsync: Switch ioloop for input/output streams while making TCP connection.

This task is performed in a sub-ioloop, and when returning from that ioloop, the
output stream would sometimes still have an object on the sub-ioloop that was
just destroyed.


Compare: https://github.com/dovecot/core/compare/6eb122cd6aea...97a391c22d54


More information about the dovecot-cvs mailing list