[PATCH] Enable ranges for memcached upstream module

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


On Tue, Apr 21, 2015 at 09:14:06PM +0200, Martin Mlynář wrote:
> # 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;
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

Committed, thanks.

-- 
Roman Arutyunyan



More information about the nginx-devel mailing list