mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
invalidate cached connections if URI changed
This commit is contained in:
parent
2b68437214
commit
1b9c9577c2
@ -524,6 +524,12 @@ ldap_back_cf_gen( ConfigArgs *c )
|
|||||||
ldap_free_urllist( li->lud );
|
ldap_free_urllist( li->lud );
|
||||||
li->lud = NULL;
|
li->lud = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* better cleanup the cached connections... */
|
||||||
|
/* NOTE: don't worry about locking: if we got here,
|
||||||
|
* other threads are suspended. */
|
||||||
|
avl_free( li->conntree, ldap_back_conn_free );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LDAP_BACK_CFG_TLS:
|
case LDAP_BACK_CFG_TLS:
|
||||||
|
Loading…
Reference in New Issue
Block a user