diff options
author | Eric Covener <covener@apache.org> | 2007-11-28 23:19:00 +0100 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2007-11-28 23:19:00 +0100 |
commit | 4c46b08b82b3504ba6a1cbbf82c313feed071747 (patch) | |
tree | bc7b7d4efe925e75e3a4c780194a66ba43e513bb /include/util_ldap.h | |
parent | * No functional change: Style. Fix linebreaks to make code more readable. (diff) | |
download | apache2-4c46b08b82b3504ba6a1cbbf82c313feed071747.tar.xz apache2-4c46b08b82b3504ba6a1cbbf82c313feed071747.zip |
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
Diffstat (limited to 'include/util_ldap.h')
-rw-r--r-- | include/util_ldap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/util_ldap.h b/include/util_ldap.h index 6109e30196..c994b88e9d 100644 --- a/include/util_ldap.h +++ b/include/util_ldap.h @@ -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 */ |