httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1003893 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Sat, 02 Oct 2010 21:38:49 GMT
Author: minfrin
Date: Sat Oct  2 21:38:49 2010
New Revision: 1003893

URL: http://svn.apache.org/viewvc?rev=1003893&view=rev
Log:
Make sure the has_body flag is written to the disk cache file, so that
we don't interpret subsequent bodies as empty.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=1003893&r1=1003892&r2=1003893&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Sat Oct  2 21:38:49 2010
@@ -1010,6 +1010,7 @@ static apr_status_t write_headers(cache_
     disk_info.status = h->cache_obj->info.status;
     disk_info.inode = dobj->disk_info.inode;
     disk_info.device = dobj->disk_info.device;
+    disk_info.has_body = dobj->disk_info.has_body;
     disk_info.header_only = dobj->disk_info.header_only;
 
     disk_info.name_len = strlen(dobj->name);



Mime
View raw message