[nginx] Memcached: enabled ranges.

Roman Arutyunyan arut at nginx.com
Wed Apr 22 14:55:08 UTC 2015


details:   http://hg.nginx.org/nginx/rev/85f00678e54a
branches:  
changeset: 6122:85f00678e54a
user:      Martin Mlyn?? <nexus at smoula.net>
date:      Tue Apr 21 21:04:36 2015 +0200
description:
Memcached: enabled ranges.

diffstat:

 src/http/modules/ngx_http_memcached_module.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b6047abf5f30 -r 85f00678e54a src/http/modules/ngx_http_memcached_module.c
--- a/src/http/modules/ngx_http_memcached_module.c	Tue Apr 21 19:09:04 2015 +0300
+++ b/src/http/modules/ngx_http_memcached_module.c	Tue Apr 21 21:04:36 2015 +0200
@@ -618,6 +618,7 @@ ngx_http_memcached_create_loc_conf(ngx_c
     conf->upstream.intercept_404 = 1;
     conf->upstream.pass_request_headers = 0;
     conf->upstream.pass_request_body = 0;
+    conf->upstream.force_ranges = 1;
 
     conf->index = NGX_CONF_UNSET;
     conf->gzip_flag = NGX_CONF_UNSET_UINT;



More information about the nginx-devel mailing list