]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10044 dynlist: check for abandon in search2resp
authorHoward Chu <hyc@openldap.org>
Wed, 21 Feb 2024 17:18:18 +0000 (17:18 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 26 Mar 2024 16:43:13 +0000 (16:43 +0000)
servers/slapd/overlays/dynlist.c

index 5c38b64f0ba54a6bcd95bf369a74dda456694130..c9a297c56d7d3ccbd9bac887bd2d1f2c31555760 100644 (file)
@@ -1648,6 +1648,9 @@ dynlist_search2resp( Operation *op, SlapReply *rs )
        dynlist_name_t *dyn;
        int rc;
 
+       if ( op->o_abandon )
+               return SLAP_CB_CONTINUE;
+
        if ( rs->sr_type == REP_SEARCH && rs->sr_entry != NULL ) {
                rc = SLAP_CB_CONTINUE;
                /* See if this is one of our dynamic groups */