]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fixed mod_mem_cache so that it doesn't misfile entries in the priority
authorCliff Woolley <jwoolley@apache.org>
Tue, 2 Dec 2003 19:07:41 +0000 (19:07 +0000)
committerCliff Woolley <jwoolley@apache.org>
Tue, 2 Dec 2003 19:07:41 +0000 (19:07 +0000)
commit6c09066b0d09dd3fc33efebf794cd55ae4214c9a
tree6983f0173e41d53f3893ffb976aa36dd4c140d6d
parent28a24b8a980f21d80e6de341ea4c1529e6aef3d6
Fixed mod_mem_cache so that it doesn't misfile entries in the priority
queue.  Previously, since the ->priority value was positive, certain
parts of mod_mem_cache would cause the priority queue to do the wrong thing
when changing the priority of an object in the cache.  The end result
would be that the objects would not be dequeued in the right order.

Submitted by:  Jean-Jacques Clar, Cliff Woolley
Reviewed by:   Paul J. Reder

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