comparison src/core/ngx_output_chain.c @ 570:8246d8a2c2be NGINX_0_8_37

nginx 0.8.37 *) Feature: the ngx_http_split_clients_module. *) Feature: the "map" directive supports keys more than 255 characters. *) Bugfix: nginx ignored the "private" and "no-store" values in the "Cache-Control" backend response header line. *) Bugfix: a "stub" parameter of an "include" SSI directive was not used, if empty response has 200 status code. *) Bugfix: if a proxied or FastCGI request was internally redirected to another proxied or FastCGI location, then a segmentation fault might occur in a worker process; the bug had appeared in 0.8.33. Thanks to Yichun Zhang. *) Bugfix: IMAP connections may hang until they timed out while talking to Zimbra server. Thanks to Alan Batie.
author Igor Sysoev <http://sysoev.ru>
date Mon, 17 May 2010 00:00:00 +0400
parents 4c5d2c627a6c
children c5122335e41d
comparison
equal deleted inserted replaced
569:19b134bf21c0 570:8246d8a2c2be
463 463
464 src = ctx->in->buf; 464 src = ctx->in->buf;
465 dst = ctx->buf; 465 dst = ctx->buf;
466 466
467 size = ngx_buf_size(src); 467 size = ngx_buf_size(src);
468 468 size = ngx_min(size, dst->end - dst->pos);
469 if (size > dst->end - dst->pos) {
470 size = dst->end - dst->pos;
471 }
472 469
473 sendfile = ctx->sendfile & !ctx->directio; 470 sendfile = ctx->sendfile & !ctx->directio;
474 471
475 #if (NGX_SENDFILE_LIMIT) 472 #if (NGX_SENDFILE_LIMIT)
476 473