freebsd-ports/www/mod_xsendfile/files/patch-mod_xsendfile.c
Olli Hauer 1051985534 - 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)
2013-06-22 20:24:57 +00:00

11 lines
436 B
C

--- 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");