comparison src/event/ngx_event_pipe.c @ 690:b5b7eea22fda NGINX_1_3_8

nginx 1.3.8 *) Feature: the "optional_no_ca" parameter of the "ssl_verify_client" directive. Thanks to Mike Kazantsev and Eric O'Connor. *) Feature: the $bytes_sent, $connection, and $connection_requests variables can now be used not only in the "log_format" directive. Thanks to Benjamin Grössing. *) Feature: the "auto" parameter of the "worker_processes" directive. *) Bugfix: "cache file ... has md5 collision" alert. *) Bugfix: in the ngx_http_gunzip_filter_module. *) Bugfix: in the "ssl_stapling" directive.
author Igor Sysoev <http://sysoev.ru>
date Tue, 30 Oct 2012 00:00:00 +0400
parents f5b859b2f097
children
comparison
equal deleted inserted replaced
689:4d942f0d1703 690:b5b7eea22fda
944 cl = ngx_alloc_chain_link(p->pool); 944 cl = ngx_alloc_chain_link(p->pool);
945 if (cl == NULL) { 945 if (cl == NULL) {
946 return NGX_ERROR; 946 return NGX_ERROR;
947 } 947 }
948 948
949 b->pos = b->start; 949 if (p->buf_to_file && b->start == p->buf_to_file->start) {
950 b->last = b->start; 950 b->pos = p->buf_to_file->last;
951 b->last = p->buf_to_file->last;
952
953 } else {
954 b->pos = b->start;
955 b->last = b->start;
956 }
957
951 b->shadow = NULL; 958 b->shadow = NULL;
952 959
953 cl->buf = b; 960 cl->buf = b;
954 961
955 if (p->free_raw_bufs == NULL) { 962 if (p->free_raw_bufs == NULL) {