Perform all per-LDAP-backend related memory allocations in a standalone pool,

provide a local method to completely remove an LDAP backend connection so
we can someday manage/dispose of extra connections in a reasonable way.

Clarify some commentary around the existing murky close/cleanup API
methods.

Minor bump for new members appended to util_ldap_connection_t, which is not
allocated by consumers of the API.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2007-11-28 22:19:00 +00:00
parent 9384f140f7
commit 4c46b08b82
3 changed files with 93 additions and 19 deletions

View File

@ -107,6 +107,8 @@ typedef struct util_ldap_connection_t {
const char *reason; /* Reason for an error failure */
struct util_ldap_connection_t *next;
struct util_ldap_state_t *st; /* The LDAP vhost config this connection belongs to */
int keep; /* Will this connection be kept when it's unlocked */
} util_ldap_connection_t;
/* LDAP cache state information */