]> git.kaiwu.me - nginx.git/commitdiff
merge r3038:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 7 Sep 2009 11:27:07 +0000 (11:27 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 7 Sep 2009 11:27:07 +0000 (11:27 +0000)
process upstream ETag header

src/http/ngx_http_upstream.c

index a0e7f82063fdaaf4c8d1932d6b506e59a7a16d2b..8c7f9a4731ce1ebd1d788b234219f3431004d643 100644 (file)
@@ -161,6 +161,12 @@ ngx_http_upstream_header_t  ngx_http_upstream_headers_in[] = {
                  offsetof(ngx_http_upstream_headers_in_t, last_modified),
                  ngx_http_upstream_copy_last_modified, 0, 0 },
 
+    { ngx_string("ETag"),
+                 ngx_http_upstream_process_header_line,
+                 offsetof(ngx_http_upstream_headers_in_t, etag),
+                 ngx_http_upstream_copy_header_line,
+                 offsetof(ngx_http_headers_out_t, etag), 0 },
+
     { ngx_string("Server"),
                  ngx_http_upstream_process_header_line,
                  offsetof(ngx_http_upstream_headers_in_t, server),