mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
partially fixes ITS#2299
This commit is contained in:
parent
5288450294
commit
fae57fcd15
@ -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 New Issue
Block a user