httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r468409 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Fri, 27 Oct 2006 15:15:24 GMT
Author: minfrin
Date: Fri Oct 27 08:15:24 2006
New Revision: 468409

URL: http://svn.apache.org/viewvc?view=rev&rev=468409
Log:
Restore the pdconf configuration structure in the SENDFILE case.

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?view=diff&rev=468409&r1=468408&r2=468409
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Fri Oct 27 08:15:24 2006
@@ -720,6 +720,10 @@
     apr_time_t starttime = apr_time_now();
     int flags;
     apr_status_t rc;
+#if APR_HAS_SENDFILE
+    core_dir_config *pdconf = ap_get_module_config(r->per_dir_config,
+                                                   &core_module);
+#endif  
 
     flags = APR_READ|APR_BINARY|APR_BUFFERED;
 #if APR_HAS_SENDFILE



Mime
View raw message