]> git.kaiwu.me - nginx.git/commit
Minor ngx_http_headers_filter_module.c code cleanup.
authorRuslan Ermilov <ru@nginx.com>
Wed, 21 Mar 2012 06:19:11 +0000 (06:19 +0000)
committerRuslan Ermilov <ru@nginx.com>
Wed, 21 Mar 2012 06:19:11 +0000 (06:19 +0000)
commit89467caf4389b2d4e190463e6b62d4a54c7495c2
tree192c20f2de51956cbc8f0a8139731731f2932bda
parentacf6c79ac732039220f5ba04fec26a92fd9ef192
Minor ngx_http_headers_filter_module.c code cleanup.

- Removed "hash" element from ngx_http_header_val_t which was always 1.
- Replaced NGX_HTTP_EXPIRES_* with ngx_http_expires_t enum type.
- Added prototype for ngx_http_add_header()
- Simplified ngx_http_set_last_modified().
src/http/modules/ngx_http_headers_filter_module.c