]> granicus.if.org Git - apache/commit
This fixes a problem where the underlying cache code
authorPaul J. Reder <rederpj@apache.org>
Thu, 14 Nov 2002 02:04:01 +0000 (02:04 +0000)
committerPaul J. Reder <rederpj@apache.org>
Thu, 14 Nov 2002 02:04:01 +0000 (02:04 +0000)
commit3a60663585dbaa46714271892b4e5668089265b3
treeac4316814e96ac76bd5dcf0c7df77d3d9f8a9488
parente0f2c0eadcbee9ba2616f2595163c1cd877549c1
This fixes a problem where the underlying cache code
indicated that there was one more element on the cache
than there actually was. This happened since element 0
exists but is not used. This code allocates the correct
number of useable elements and reports the number of
actually used elements. The previous code only allowed
MCacheMaxObjectCount-1 objects to be stored in the
cache. [Paul J. Reder]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97510 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/experimental/cache_pqueue.c