mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user