]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: smtp-client-connection - Make sure connect timeout is always reset upon...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Sat, 20 Jul 2019 11:05:08 +0000 (13:05 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 19 Nov 2019 12:46:24 +0000 (12:46 +0000)
src/lib-smtp/smtp-client-connection.c

index 985e04b64eca0911125cf4c7b46be28a270e2b9d..c3ccf6e425d85b25d9e7afc3642622e2498e638b 100644 (file)
@@ -1076,6 +1076,9 @@ static void smtp_client_connection_input(struct connection *_conn)
                        i_assert(ret == 0);
                        return;
                }
+
+               if (conn->to_connect != NULL)
+                       timeout_reset(conn->to_connect);
        }
 
        if (!conn->connect_succeeded) {