mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-10 09:10:19 -04:00
ITS#10266 lloadd: Correct NoD handling
This commit is contained in:
parent
c1c652d8b9
commit
3f07e6fbfb
1 changed files with 0 additions and 7 deletions
|
|
@ -148,7 +148,6 @@ handle_unsolicited( LloadConnection *c, BerElement *ber )
|
|||
|
||||
assert( c->c_state != LLOAD_C_INVALID );
|
||||
if ( c->c_state == LLOAD_C_DYING ) {
|
||||
CONNECTION_UNLOCK(c);
|
||||
goto out;
|
||||
}
|
||||
c->c_state = LLOAD_C_CLOSING;
|
||||
|
|
@ -208,12 +207,6 @@ handle_unsolicited( LloadConnection *c, BerElement *ber )
|
|||
RELEASE_REF( client, c_refcnt, client->c_destroy );
|
||||
}
|
||||
|
||||
if ( c->c_state == LLOAD_C_CLOSING && c->c_ops ) {
|
||||
CONNECTION_UNLOCK(c);
|
||||
} else {
|
||||
CONNECTION_DESTROY(c);
|
||||
}
|
||||
|
||||
out:
|
||||
ber_free( ber, 1 );
|
||||
if ( c->c_state == LLOAD_C_CLOSING && c->c_ops ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue