[dovecot/core] c8eb83: login-proxy: Fixed assert-crash/hang on connect er...

GitHub noreply at github.com
Wed Aug 10 11:30:09 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: c8eb8314aaf8082f2ddc99d2ea249a6e3fb468fc
      https://github.com/dovecot/core/commit/c8eb8314aaf8082f2ddc99d2ea249a6e3fb468fc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M src/login-common/login-proxy.c

  Log Message:
  -----------
  login-proxy: Fixed assert-crash/hang on connect errors.

The internal BUG would have left the host hanging. "Host is down" or any
immediate connect() error would have assert-crashed with:

Panic: file login-proxy.c: line 470 (login_proxy_disconnect): assertion failed: (proxy->state_rec->num_waiting_connections > 0)




More information about the dovecot-cvs mailing list