summaryrefslogtreecommitdiff
path: root/www/mod_xsendfile/files/patch-mod_xsendfile.c
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2013-06-22 20:24:57 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2013-06-22 20:24:57 +0000
commit1051985534dd0351e579656559a14d6118910d07 (patch)
tree8fa40e689a76f9ecd3a3568c3e61b25e73ea9138 /www/mod_xsendfile/files/patch-mod_xsendfile.c
parentUpdate to Wine 1.6 RC3. This includes some further bug fixes. (diff)
- Extract Last-Modified from the right place
PR: ports/178668 Submitted by: Hung-Yi Chen <gaod@hychen.org> Approved by: Andrew Bennet <potatosaladx@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=321590
Diffstat (limited to 'www/mod_xsendfile/files/patch-mod_xsendfile.c')
-rw-r--r--www/mod_xsendfile/files/patch-mod_xsendfile.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mod_xsendfile/files/patch-mod_xsendfile.c b/www/mod_xsendfile/files/patch-mod_xsendfile.c
new file mode 100644
index 000000000000..b9adca6877e1
--- /dev/null
+++ b/www/mod_xsendfile/files/patch-mod_xsendfile.c
@@ -0,0 +1,11 @@
+--- mod_xsendfile.c.orig 2013-05-16 02:15:41.000000000 +0800
++++ mod_xsendfile.c 2013-05-16 02:15:48.000000000 +0800
+@@ -439,7 +439,7 @@
+ conf->ignoreLM == XSENDFILE_ENABLED
+ || (
+ !apr_table_get(r->headers_out, "last-modified")
+- && !apr_table_get(r->headers_out, "last-modified")
++ && !apr_table_get(r->err_headers_out, "last-modified")
+ )
+ ) {
+ apr_table_unset(r->err_headers_out, "last-modified");