Mercurial > hg > nginx-vendor-0-6
comparison src/http/modules/ngx_http_charset_filter_module.c @ 214:0ad9eeb6ac7f NGINX_0_3_54
nginx 0.3.54
*) Feature: nginx now logs the subrequest information to the error log.
*) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and
"memcached_next_upstream" directives support the "off" parameter.
*) Feature: the "debug_connection" directive supports the CIDR address
form.
*) Bugfix: if a response of proxied server or FastCGI server was
converted from UTF-8 or back, then it may be transferred incomplete.
*) Bugfix: the $upstream_response_time variable had the time of the
first request to a backend only.
*) Bugfix: nginx could not be built on amd64 platform; bug appeared in
0.3.53.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 11 Jul 2006 00:00:00 +0400 |
parents | 56688ed172c8 |
children | fa32d59d9a15 |
comparison
equal
deleted
inserted
replaced
213:405beeeadf7f | 214:0ad9eeb6ac7f |
---|---|
430 | 430 |
431 for (cl = in; cl; cl = cl->next) { | 431 for (cl = in; cl; cl = cl->next) { |
432 b = cl->buf; | 432 b = cl->buf; |
433 | 433 |
434 if (ngx_buf_size(b) == 0) { | 434 if (ngx_buf_size(b) == 0) { |
435 | |
436 *ll = ngx_alloc_chain_link(r->pool); | |
437 if (*ll == NULL) { | |
438 return NGX_ERROR; | |
439 } | |
440 | |
441 (*ll)->buf = b; | |
442 (*ll)->next = NULL; | |
443 | |
444 ll = &(*ll)->next; | |
445 | |
435 continue; | 446 continue; |
436 } | 447 } |
437 | 448 |
438 if (ctx->to_utf8) { | 449 if (ctx->to_utf8) { |
439 *ll = ngx_http_charset_recode_to_utf8(r->pool, b, ctx); | 450 *ll = ngx_http_charset_recode_to_utf8(r->pool, b, ctx); |