diff -U 3 -r nginx-1.0.5/src/http/modules/ngx_http_headers_filter_module.c nginx-1.0.5-mine/src/http/modules/ngx_http_headers_filter_module.c
--- nginx-1.0.5/src/http/modules/ngx_http_headers_filter_module.c	2010-05-14 19:56:37.000000000 +1000
+++ nginx-1.0.5-mine/src/http/modules/ngx_http_headers_filter_module.c	2011-09-06 16:42:02.743052996 +1000
@@ -391,10 +391,12 @@
         }
     }
 
-    h->hash = hv->hash;
+    /*h->hash = hv->hash;
     h->key = hv->key;
-    h->value = *value;
-
+    h->value = *value;*/
+    h->hash = 0;
+    r->headers_out.last_modified_time = ngx_http_parse_time(value->data,
+                                       value->len);
     return NGX_OK;
 }
 
