ASF Bugzilla – Attachment 31087 Details for
Bug 55833
mod_disk_cache reads from closed files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
close headers.fd only when declining open_entity
disk_cache-hdrs-fd.diff (text/plain), 928 bytes, created by
Eric Covener
on 2013-12-02 17:26:32 UTC
(
hide
)
Description:
close headers.fd only when declining open_entity
Filename:
MIME Type:
Creator:
Eric Covener
Created:
2013-12-02 17:26:32 UTC
Size:
928 bytes
patch
obsolete
>Index: modules/cache/mod_cache_disk.c >=================================================================== >--- modules/cache/mod_cache_disk.c (revision 1547114) >+++ modules/cache/mod_cache_disk.c (working copy) >@@ -529,13 +529,13 @@ > return DECLINED; > } > >- apr_file_close(dobj->hdrs.fd); > > /* Is this a cached HEAD request? */ > if (dobj->disk_info.header_only && !r->header_only) { > ap_log_rerror(APLOG_MARK, APLOG_DEBUG, APR_SUCCESS, r, APLOGNO(00707) > "HEAD request cached, non-HEAD requested, ignoring: %s", > dobj->hdrs.file); >+ apr_file_close(dobj->hdrs.fd); > return DECLINED; > } > >@@ -592,7 +592,7 @@ > ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00710) > "Cached URL info header '%s' didn't match body, ignoring this entry", > dobj->name); >- >+ apr_file_close(dobj->hdrs.fd); > return DECLINED; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55833
: 31087