comparison src/http/ngx_http_header_filter.c @ 210:00cafae0bdf1

nginx-0.0.1-2003-12-14-23:10:27 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 14 Dec 2003 20:10:27 +0000
parents 0b67be7d4489
children 674f85a4d00f
comparison
equal deleted inserted replaced
209:e1c815be05ae 210:00cafae0bdf1
338 /**/ 338 /**/
339 339
340 /* the end of HTTP header */ 340 /* the end of HTTP header */
341 *(h->last++) = CR; *(h->last++) = LF; 341 *(h->last++) = CR; *(h->last++) = LF;
342 342
343 r->header_size = h->last - h->pos;
344
343 if (r->header_only) { 345 if (r->header_only) {
344 h->type |= NGX_HUNK_LAST; 346 h->type |= NGX_HUNK_LAST;
345 } 347 }
346 348
347 if (!(ln = ngx_alloc_chain_link(r->pool))) { 349 if (!(ln = ngx_alloc_chain_link(r->pool))) {