changeset 20512:9f7115042632

lmtp: Don't send double-DISCONNECT to anvil. Happened with lmtp_user_concurrency_limit > 0. Fixes errors like: Error: connect limit: disconnection for unknown pid 123 + ident lmtp/username
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 11 Jul 2016 10:22:06 +0300
parents ce93ba3e5562
children 56666f12cfb7
files src/lmtp/commands.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lmtp/commands.c	Wed Jul 06 23:41:18 2016 +0300
+++ b/src/lmtp/commands.c	Mon Jul 11 10:22:06 2016 +0300
@@ -908,7 +908,6 @@
 				 rcpt->address);
 		ret = -1;
 	}
-	client_rcpt_anvil_disconnect(rcpt);
 	return ret;
 }