Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_xslt_filter_module.c @ 528:829f9a66a659 NGINX_0_7_56
nginx 0.7.56
*) Feature: nginx/Windows supports IPv6 in a "listen" directive of the
HTTP module.
*) Bugfix: in ngx_http_image_filter_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 11 May 2009 00:00:00 +0400 |
parents | ed5e10fb40fc |
children | 499474178a11 |
comparison
equal
deleted
inserted
replaced
527:e98b980b4fe7 | 528:829f9a66a659 |
---|---|
317 ngx_pool_cleanup_t *cln; | 317 ngx_pool_cleanup_t *cln; |
318 | 318 |
319 ctx->done = 1; | 319 ctx->done = 1; |
320 | 320 |
321 if (b == NULL) { | 321 if (b == NULL) { |
322 return ngx_http_filter_finalize_request(r, | 322 return ngx_http_filter_finalize_request(r, NULL, |
323 NGX_HTTP_INTERNAL_SERVER_ERROR); | 323 NGX_HTTP_INTERNAL_SERVER_ERROR); |
324 } | 324 } |
325 | 325 |
326 cln = ngx_pool_cleanup_add(r->pool, 0); | 326 cln = ngx_pool_cleanup_add(r->pool, 0); |
327 | 327 |
328 if (cln == NULL) { | 328 if (cln == NULL) { |
329 ngx_free(b->pos); | 329 ngx_free(b->pos); |
330 return ngx_http_filter_finalize_request(r, | 330 return ngx_http_filter_finalize_request(r, NULL, |
331 NGX_HTTP_INTERNAL_SERVER_ERROR); | 331 NGX_HTTP_INTERNAL_SERVER_ERROR); |
332 } | 332 } |
333 | 333 |
334 if (r == r->main) { | 334 if (r == r->main) { |
335 r->headers_out.content_length_n = b->last - b->pos; | 335 r->headers_out.content_length_n = b->last - b->pos; |