]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-auth-client: auth-master - Fix panic when reconnecting after handshake timeout main
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 2 Feb 2026 21:40:19 +0000 (23:40 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 6 Feb 2026 21:17:11 +0000 (21:17 +0000)
commiteabdfd7df9f2980e8829dbc8f883656130725441
treecbd8a7215c55ad53d463e999fc2cbba12be59222
parentcb8b236c35b1fd53f81c1c518a9d3670a7f68368
lib-auth-client: auth-master - Fix panic when reconnecting after handshake timeout

The connection wasn't fully disconnected after handshake timeout. Fix this
by moving connection_disconnect() to auth_master_connection_failure() so it
always gets called.

Fixes:
Panic: file connection.c: line 797 (connection_client_connect_with_retries): assertion failed: (conn->fd_in == -1)
src/lib-auth-client/auth-master.c