mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
partially fixes ITS#2299
This commit is contained in:
parent
5288450294
commit
fae57fcd15
1 changed files with 16 additions and 0 deletions
|
|
@ -405,7 +405,23 @@ glue_back_search (
|
|||
s2limit, t2limit, filter, filterstr,
|
||||
attrs, attrsonly);
|
||||
}
|
||||
|
||||
switch ( gs.err ) {
|
||||
|
||||
/*
|
||||
* Add errors that should result in dropping
|
||||
* the search
|
||||
*/
|
||||
case LDAP_SIZELIMIT_EXCEEDED:
|
||||
case LDAP_TIMELIMIT_EXCEEDED:
|
||||
case LDAP_ADMINLIMIT_EXCEEDED:
|
||||
goto end_of_loop;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
end_of_loop:;
|
||||
break;
|
||||
}
|
||||
op->o_callback = gs.prevcb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue