]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-proxy: Clarify error messages when disconnecting from server before login is...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Apr 2020 18:00:30 +0000 (21:00 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 24 Apr 2020 08:02:40 +0000 (08:02 +0000)
src/login-common/client-common-auth.c

index 20b658b91baffd23c125e4613bb4a5c2310eaac5..9c40a605831aa2c42572dd5f3fc789702ac1f708 100644 (file)
@@ -353,14 +353,15 @@ static void proxy_input(struct client *client)
        switch (i_stream_read(input)) {
        case -2:
                e_error(login_proxy_get_event(client->login_proxy),
-                       "Remote input buffer full");
+                       "Disconnected by proxy: "
+                       "Received too long line from remote server");
                client_proxy_failed(client, TRUE);
                return;
        case -1:
                line = i_stream_next_line(input);
                duration = ioloop_time - client->created;
                e_error(login_proxy_get_event(client->login_proxy),
-                       "Remote %s:%u disconnected: %s "
+                       "Disconnected by server %s:%u: %s "
                        "(state=%s, duration=%us)%s",
                        login_proxy_get_host(client->login_proxy),
                        login_proxy_get_port(client->login_proxy),