From 2160427f89b80520ad576abcc67a85b2e5078280 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 29 Aug 2015 19:44:33 +0100 Subject: [PATCH] ITS#8232 avoid redundant abandon processing --- servers/slapd/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 4f359a8532..2488065c40 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -723,6 +723,9 @@ static void connection_abandon( Connection *c ) SlapReply rs = {REP_RESULT}; next = LDAP_STAILQ_NEXT( o, o_next ); + /* don't abandon an op twice */ + if ( o->o_abandon ) + continue; op.orn_msgid = o->o_msgid; o->o_abandon = 1; op.o_bd = frontendDB; -- 2.39.5