Mercurial > hg > nginx-quic
comparison src/http/ngx_http_header_filter_module.c @ 669:562806624c4a release-0.3.56
nginx-0.3.56-RELEASE import
*) Feature: the "dav_access" directive.
*) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e",
"-x", and "!-x" operators.
*) Bugfix: a segmentation fault occurred if a request returned a
redirect and some sent to client header lines were logged in the
access log.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Aug 2006 16:04:04 +0000 |
parents | 63a820b0bc6c |
children | 7e24168b0853 |
comparison
equal
deleted
inserted
replaced
668:9a9d671aa343 | 669:562806624c4a |
---|---|
458 | 458 |
459 /* update r->headers_out.location->value for possible logging */ | 459 /* update r->headers_out.location->value for possible logging */ |
460 | 460 |
461 r->headers_out.location->value.len = b->last - p; | 461 r->headers_out.location->value.len = b->last - p; |
462 r->headers_out.location->value.data = p; | 462 r->headers_out.location->value.data = p; |
463 r->headers_out.location->key.len = sizeof("Location: ") - 1; | |
464 r->headers_out.location->key.data = (u_char *) "Location: "; | |
463 | 465 |
464 *b->last++ = CR; *b->last++ = LF; | 466 *b->last++ = CR; *b->last++ = LF; |
465 } | 467 } |
466 | 468 |
467 if (r->chunked) { | 469 if (r->chunked) { |