[nginx] svn commit: r4549 - trunk/src/http/modules
ru at nginx.com
ru at nginx.com
Wed Mar 21 07:35:43 UTC 2012
Author: ru
Date: 2012-03-21 07:35:43 +0000 (Wed, 21 Mar 2012)
New Revision: 4549
URL: http://trac.nginx.org/nginx/changeset/4549/nginx
Log:
If we inserted "Last-Modified" in r->headers_out.headers, don't
forget to set the r->headers_out.last_modified pointer to it.
Modified:
trunk/src/http/modules/ngx_http_headers_filter_module.c
Modified: trunk/src/http/modules/ngx_http_headers_filter_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_headers_filter_module.c 2012-03-21 06:19:11 UTC (rev 4548)
+++ trunk/src/http/modules/ngx_http_headers_filter_module.c 2012-03-21 07:35:43 UTC (rev 4549)
@@ -385,6 +385,8 @@
return NGX_ERROR;
}
+ *old = h;
+
} else {
h = *old;
More information about the nginx-devel
mailing list