]> granicus.if.org Git - apache/commitdiff
Ooops, this should have been committed along with mod_mem_cache changes.
authorBill Stoddard <stoddard@apache.org>
Thu, 30 Aug 2001 02:51:26 +0000 (02:51 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 30 Aug 2001 02:51:26 +0000 (02:51 +0000)
Keep track of the number of body bytes written to the cache.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90793 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_cache.h

index d7f465b04e6caceec8766fae789a72290941ab84..c68462cd56ea7220ee939dea7bed6003afd06e85 100644 (file)
@@ -169,7 +169,9 @@ typedef struct cache_handle cache_handle;
 struct cache_handle {
     cache_info *info;
     cache_handle *next;
-    void *cache_obj;           /* Pointer to cache specific object */
+
+    void *cache_obj;     /* Pointer to cache specific object */
+    apr_size_t count;   /* Number of body bytes written to the cache so far */
 
     /* Cache call back functions */
     int (*remove_entity) (cache_handle *h);