comparison src/http/ngx_http_header_filter.c @ 182:3c49eaf3f522

nginx-0.0.1-2003-11-13-09:14:05 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 13 Nov 2003 06:14:05 +0000
parents 2d143372a1ee
children 8dee38ea9117
comparison
equal deleted inserted replaced
181:811bdd2af794 182:3c49eaf3f522
333 h->last = ngx_cpymem(h->last, "Last-Modified: ", 333 h->last = ngx_cpymem(h->last, "Last-Modified: ",
334 sizeof("Last-Modified: ") - 1); 334 sizeof("Last-Modified: ") - 1);
335 #if (NGX_HTTP_LOG_ALL_HEADERS_OUT) 335 #if (NGX_HTTP_LOG_ALL_HEADERS_OUT)
336 p = h->last; 336 p = h->last;
337 #endif 337 #endif
338 h->last += ngx_http_get_time(h->last, 338 h->last += ngx_http_time(h->last, r->headers_out.last_modified_time);
339 r->headers_out.last_modified_time);
340 339
341 #if (NGX_HTTP_LOG_ALL_HEADERS_OUT) 340 #if (NGX_HTTP_LOG_ALL_HEADERS_OUT)
342 r->headers_out.last_modified = ngx_palloc(r->pool, 341 r->headers_out.last_modified = ngx_palloc(r->pool,
343 sizeof(ngx_table_elt_t)); 342 sizeof(ngx_table_elt_t));
344 if (r->headers_out.last_modified == NULL) { 343 if (r->headers_out.last_modified == NULL) {