[PATCH] Enable ranges for memcached upstream module

Martin Mlynář nexus at smoula.net
Tue Apr 21 19:14:06 UTC 2015


# HG changeset patch
# User Martin Mlynář <nexus at smoula.net>
# Date 1429643076 -7200
#      Tue Apr 21 21:04:36 2015 +0200
# Node ID 11553f9d9ef331d16476f17de47b33d93b05a467
# Parent  1bdfceda86a99a4dc99934181d2f9e2632003ca8
Enable ranges for memcached upstream module

diff -r 1bdfceda86a9 -r 11553f9d9ef3 src/http/modules/ngx_http_memcached_module.c
--- a/src/http/modules/ngx_http_memcached_module.c	Mon Apr 20 17:36:51 2015 +0300
+++ b/src/http/modules/ngx_http_memcached_module.c	Tue Apr 21 21:04:36 2015 +0200
@@ -618,6 +618,7 @@
     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