comparison src/http/ngx_http_upstream.c @ 3100:df9d91bb1e5a stable-0.7

merge r3038: process upstream ETag header
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Sep 2009 11:27:07 +0000
parents 4f28e63e42b4
children 2efa8d2fcde1
comparison
equal deleted inserted replaced
3099:b8df09db1207 3100:df9d91bb1e5a
159 { ngx_string("Last-Modified"), 159 { ngx_string("Last-Modified"),
160 ngx_http_upstream_process_header_line, 160 ngx_http_upstream_process_header_line,
161 offsetof(ngx_http_upstream_headers_in_t, last_modified), 161 offsetof(ngx_http_upstream_headers_in_t, last_modified),
162 ngx_http_upstream_copy_last_modified, 0, 0 }, 162 ngx_http_upstream_copy_last_modified, 0, 0 },
163 163
164 { ngx_string("ETag"),
165 ngx_http_upstream_process_header_line,
166 offsetof(ngx_http_upstream_headers_in_t, etag),
167 ngx_http_upstream_copy_header_line,
168 offsetof(ngx_http_headers_out_t, etag), 0 },
169
164 { ngx_string("Server"), 170 { ngx_string("Server"),
165 ngx_http_upstream_process_header_line, 171 ngx_http_upstream_process_header_line,
166 offsetof(ngx_http_upstream_headers_in_t, server), 172 offsetof(ngx_http_upstream_headers_in_t, server),
167 ngx_http_upstream_copy_header_line, 173 ngx_http_upstream_copy_header_line,
168 offsetof(ngx_http_headers_out_t, server), 0 }, 174 offsetof(ngx_http_headers_out_t, server), 0 },