From b16478a5cac809e5967429f28bbd2a9bcedefe39 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 29 Apr 2008 22:09:12 +0000 Subject: [PATCH] Avoid queueing response on abandoned psearches --- servers/slapd/overlays/syncprov.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5