From: Howard Chu Date: Tue, 29 Apr 2008 22:09:12 +0000 (+0000) Subject: Avoid queueing response on abandoned psearches X-Git-Tag: LOCKER_IDS~193 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b16478a5cac809e5967429f28bbd2a9bcedefe39;p=openldap Avoid queueing response on abandoned psearches --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 9ca4153f7c..0551f1e933 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1180,6 +1180,9 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit ) int found = 0; snext = ss->s_next; + if ( ss->s_op->o_abandon ) + continue; + /* validate base */ fc.fss = ss; fc.fbase = 0;