1
0
mirror of https://github.com/dovecot/core.git synced 2026-10-23 22:08:58 +03:00

imap: cmd-list - Exit loop in cmd_list_continue() early upon connection failure

This commit is contained in:
Stephan Bosch
2025-02-17 18:27:44 +01:00
committed by aki.tuomi
parent fd01ff07e7
commit 69fe2beffa

View File

@@ -252,6 +252,8 @@ static bool cmd_list_continue(struct client_command_context *cmd)
/* send LIST/LSUB response */
ret = client_send_line_next(ctx->cmd->client, str_c(str));
if (ret < 0)
return TRUE;
/* send STATUS response */
if (ctx->used_status) {