comparison src/http/ngx_http_file_cache.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 23ef0645ea57
children d3cf6c6b0043
comparison
equal deleted inserted replaced
635:5d94f8b3e01d 636:943566b4d82e
406 if (!c->node->exists) { 406 if (!c->node->exists) {
407 c->node->uses = 1; 407 c->node->uses = 1;
408 c->node->body_start = c->body_start; 408 c->node->body_start = c->body_start;
409 c->node->exists = 1; 409 c->node->exists = 1;
410 c->node->uniq = c->uniq; 410 c->node->uniq = c->uniq;
411 c->node->fs_size = c->fs_size;
411 412
412 cache->sh->size += c->fs_size; 413 cache->sh->size += c->fs_size;
413 } 414 }
414 415
415 ngx_shmtx_unlock(&cache->shpool->mutex); 416 ngx_shmtx_unlock(&cache->shpool->mutex);