comparison src/http/modules/ngx_http_headers_filter.c @ 416:b9bd635011de

nginx-0.0.10-2004-09-06-22:45:00 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 06 Sep 2004 18:45:00 +0000
parents 3c56e834be46
children da8c5707af39
comparison
equal deleted inserted replaced
415:3c56e834be46 416:b9bd635011de
73 73
74 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module); 74 conf = ngx_http_get_module_loc_conf(r, ngx_http_headers_filter_module);
75 75
76 if (conf->expires != NGX_HTTP_EXPIRES_OFF) { 76 if (conf->expires != NGX_HTTP_EXPIRES_OFF) {
77 77
78 if (!(expires = ngx_push_list(&r->headers_out.headers))) { 78 if (!(expires = ngx_list_push(&r->headers_out.headers))) {
79 return NGX_ERROR; 79 return NGX_ERROR;
80 } 80 }
81 81
82 r->headers_out.expires = expires; 82 r->headers_out.expires = expires;
83 83
84 if (!(cc = ngx_push_list(&r->headers_out.headers))) { 84 if (!(cc = ngx_list_push(&r->headers_out.headers))) {
85 return NGX_ERROR; 85 return NGX_ERROR;
86 } 86 }
87 87
88 r->headers_out.cache_control = cc; 88 r->headers_out.cache_control = cc;
89 89