[dovecot/core] 002eae: director: Avoid a potential assert-crash after rem...

GitHub noreply at github.com
Wed Mar 30 05:27:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 002eaedb419e67eec1b518f520eca133a6ee27db
      https://github.com/dovecot/core/commit/002eaedb419e67eec1b518f520eca133a6ee27db
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Avoid a potential assert-crash after removing a director from ring.

This should fix the crash:
Panic: director: file director-connection.c: line 1926 (director_connection_init_out): assertion failed: (!host->removed)

Also moved the last_network_failure timestamp reset a bit later, since
there's no need to reset the timestamp if we're not actually connecting
to the server.




More information about the dovecot-cvs mailing list