Loading CHANGES +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] *) mod_ldap: prevent the possiblity of an infinite loop in the LDAP statistics display. PR 29216 [Graham Leggett] *) mod_disk_cache: Do not store hop-by-hop headers. [Justin Erenkrantz] *) mod_cache: Try to correctly follow RFC 2616 13.3 on validating stale Loading modules/ldap/util_ldap_cache_mgr.c +5 −2 Original line number Diff line number Diff line Loading @@ -469,10 +469,13 @@ char *util_ald_cache_display_stats(request_rec *r, util_ald_cache_t *cache, char for (i=0; i < cache->size; ++i) { if (cache->nodes[i] != NULL) { nchains++; for (n = cache->nodes[i]; n != NULL; n = n->next) for (n = cache->nodes[i]; n != NULL && n != n->next; n = n->next) { totchainlen++; } } } chainlen = nchains? (double)totchainlen / (double)nchains : 0; if (id) { Loading Loading
CHANGES +3 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] *) mod_ldap: prevent the possiblity of an infinite loop in the LDAP statistics display. PR 29216 [Graham Leggett] *) mod_disk_cache: Do not store hop-by-hop headers. [Justin Erenkrantz] *) mod_cache: Try to correctly follow RFC 2616 13.3 on validating stale Loading
modules/ldap/util_ldap_cache_mgr.c +5 −2 Original line number Diff line number Diff line Loading @@ -469,10 +469,13 @@ char *util_ald_cache_display_stats(request_rec *r, util_ald_cache_t *cache, char for (i=0; i < cache->size; ++i) { if (cache->nodes[i] != NULL) { nchains++; for (n = cache->nodes[i]; n != NULL; n = n->next) for (n = cache->nodes[i]; n != NULL && n != n->next; n = n->next) { totchainlen++; } } } chainlen = nchains? (double)totchainlen / (double)nchains : 0; if (id) { Loading