From: Markus Valentin Date: Thu, 9 Mar 2023 09:58:13 +0000 (+0100) Subject: login-common: client_get_extra_disconnect_reason() - Remove auth_waiting_server and... X-Git-Tag: 2.4.0~2898 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5409f70cfb630778a6d95d5f3ccdffcf7371ad08;p=thirdparty%2Fdovecot%2Fcore.git login-common: client_get_extra_disconnect_reason() - Remove auth_waiting_server and auth_waiting_server_finish These reasons are not supposed to happen only if a process gets actively killed. For the shutting_down reason will be added. --- diff --git a/src/login-common/client-common.c b/src/login-common/client-common.c index 0ab299522d..e5b86d2ec1 100644 --- a/src/login-common/client-common.c +++ b/src/login-common/client-common.c @@ -1192,13 +1192,6 @@ bool client_get_extra_disconnect_reason(struct client *client, } else if (client->auth_client_continue_pending) { *event_reason_r = "auth_waiting_client"; last_reason = "client didn't finish SASL auth"; - } else if (client->auth_request != NULL) { - *event_reason_r = "auth_waiting_server"; - last_reason = "disconnected while authenticating"; - } else if (client->authenticating) { - i_assert(client->master_tag != 0); - *event_reason_r = "auth_waiting_server_finish"; - last_reason = "disconnected while finishing login"; } else if (client->auth_nologin_referral) { /* Referral was sent to the connecting client, which is expected to be a trusted Dovecot proxy. There should be no