Skip to content
Snippets Groups Projects
Commit 7c669527 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

check for shutdown (need to add to other backends?)

parent b95e40f5
No related branches found
No related tags found
No related merge requests found
......@@ -660,6 +660,15 @@ loop_begin:
goto done;
}
/* mostly needed by internal searches,
* e.g. related to syncrepl, for whom
* abandon does not get set... */
if ( slapd_shutdown ) {
rs->sr_err = LDAP_UNAVAILABLE;
send_ldap_disconnect( op, rs );
goto done;
}
/* check time limit */
if ( op->ors_tlimit != SLAP_NO_LIMIT
&& slap_get_time() > stoptime )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment