comparison src/event/ngx_event_pipe.c @ 636:943566b4d82e NGINX_1_1_2

nginx 1.1.2 *) Change: now if total size of all ranges is greater than source response size, then nginx disables ranges and returns just the source response. *) Feature: the "max_ranges" directive. *) Bugfix: the "ssl_verify_client", "ssl_verify_depth", and "ssl_prefer_server_ciphers" directives might work incorrectly if SNI was used. *) Bugfix: in the "proxy/fastcgi/scgi/uwsgi_ignore_client_abort" directives.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Sep 2011 00:00:00 +0400
parents 86dad910eeb6
children eb208e0cf44d
comparison
equal deleted inserted replaced
635:5d94f8b3e01d 636:943566b4d82e
147 147
148 if (p->upstream->read->available == 0 148 if (p->upstream->read->available == 0
149 && p->upstream->read->pending_eof) 149 && p->upstream->read->pending_eof)
150 { 150 {
151 p->upstream->read->ready = 0; 151 p->upstream->read->ready = 0;
152 p->upstream->read->eof = 0; 152 p->upstream->read->eof = 1;
153 p->upstream_eof = 1; 153 p->upstream_eof = 1;
154 p->read = 1; 154 p->read = 1;
155 155
156 if (p->upstream->read->kq_errno) { 156 if (p->upstream->read->kq_errno) {
157 p->upstream->read->error = 1; 157 p->upstream->read->error = 1;