Skip to content

Commit 04ade24

Browse files
committed
Restore the pdconf configuration structure in the SENDFILE case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@468409 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0ba0488 commit 04ade24

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/cache/mod_disk_cache.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,10 @@ static apr_status_t open_body_timeout(request_rec *r, const char *key,
720720
apr_time_t starttime = apr_time_now();
721721
int flags;
722722
apr_status_t rc;
723+
#if APR_HAS_SENDFILE
724+
core_dir_config *pdconf = ap_get_module_config(r->per_dir_config,
725+
&core_module);
726+
#endif
723727

724728
flags = APR_READ|APR_BINARY|APR_BUFFERED;
725729
#if APR_HAS_SENDFILE

0 commit comments

Comments
 (0)