]> git.sur5r.net Git - openldap/commitdiff
Avoid queueing response on abandoned psearches
authorHoward Chu <hyc@openldap.org>
Tue, 29 Apr 2008 22:09:12 +0000 (22:09 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Apr 2008 22:09:12 +0000 (22:09 +0000)
servers/slapd/overlays/syncprov.c

index 9ca4153f7c59dfb59157f0279ddc43e6b9abc30b..0551f1e93380a1f533e548413927123da68cf1ec 100644 (file)
@@ -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;