summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2017-03-27 21:52:43 +0200
committerChristophe Jaillet <jailletc36@apache.org>2017-03-27 21:52:43 +0200
commit97c958956818fc113f9eda05d7019349547d6218 (patch)
tree7cd5f3dbae0307ad475a616ca89d7434789edda7 /modules/cache
parentImprove indentation (diff)
downloadapache2-97c958956818fc113f9eda05d7019349547d6218.tar.xz
apache2-97c958956818fc113f9eda05d7019349547d6218.zip
Group bit field values in order to save some memory.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1789000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_cache_socache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cache/mod_cache_socache.c b/modules/cache/mod_cache_socache.c
index e7fa462acc..11e950285d 100644
--- a/modules/cache/mod_cache_socache.c
+++ b/modules/cache/mod_cache_socache.c
@@ -77,13 +77,13 @@ typedef struct cache_socache_object_t
cache_socache_info_t socache_info; /* Header information. */
apr_size_t body_offset; /* offset to the start of the body */
apr_off_t body_length; /* length of the cached entity body */
- unsigned int newbody :1; /* whether a new body is present */
apr_time_t expire; /* when to expire the entry */
const char *name; /* Requested URI without vary bits - suitable for mortals. */
const char *key; /* On-disk prefix; URI with Vary bits (if present) */
apr_off_t offset; /* Max size to set aside */
apr_time_t timeout; /* Max time to set aside */
+ unsigned int newbody :1; /* whether a new body is present */
unsigned int done :1; /* Is the attempt to cache complete? */
} cache_socache_object_t;