mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#4417 backglue must pass intermediate responses transparently.
syncprov must prevent send_ldap_result from being called for an in-progress persistent search.
This commit is contained in:
parent
cd18c6cb4d
commit
7b5528d68b
@ -93,6 +93,7 @@ glue_op_response ( Operation *op, SlapReply *rs )
|
||||
switch(rs->sr_type) {
|
||||
case REP_SEARCH:
|
||||
case REP_SEARCHREF:
|
||||
case REP_INTERMEDIATE:
|
||||
return SLAP_CB_CONTINUE;
|
||||
|
||||
default:
|
||||
|
@ -1784,6 +1784,9 @@ syncprov_detach_op( Operation *op, syncops *so, slap_overinst *on )
|
||||
LDAP_STAILQ_INSERT_TAIL( &op->o_conn->c_ops, op2, o_next );
|
||||
so->s_flags |= PS_IS_DETACHED;
|
||||
ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
|
||||
|
||||
/* Prevent anyone else from trying to send a result for this op */
|
||||
op->o_abandon = 1;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user