Mercurial > hg > nginx
comparison src/http/ngx_http_header_filter.c @ 257:70e1c7d2b83d
nginx-0.0.2-2004-02-11-20:08:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 11 Feb 2004 17:08:49 +0000 |
parents | 674f85a4d00f |
children | 87e73f067470 |
comparison
equal
deleted
inserted
replaced
256:8e39cab6abd5 | 257:70e1c7d2b83d |
---|---|
331 h->last = ngx_cpymem(h->last, header[i].value.data, | 331 h->last = ngx_cpymem(h->last, header[i].value.data, |
332 header[i].value.len); | 332 header[i].value.len); |
333 *(h->last++) = CR; *(h->last++) = LF; | 333 *(h->last++) = CR; *(h->last++) = LF; |
334 } | 334 } |
335 | 335 |
336 /* STUB */ | 336 #if (NGX_DEBUG) |
337 *(h->last) = '\0'; | 337 *(h->last) = '\0'; |
338 ngx_log_debug(r->connection->log, "%s\n" _ h->pos); | 338 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "%s\n", h->pos); |
339 /**/ | 339 #endif |
340 | 340 |
341 /* the end of HTTP header */ | 341 /* the end of HTTP header */ |
342 *(h->last++) = CR; *(h->last++) = LF; | 342 *(h->last++) = CR; *(h->last++) = LF; |
343 | 343 |
344 r->header_size = h->last - h->pos; | 344 r->header_size = h->last - h->pos; |