From 33a8d456b8dc5485da1f75d7f371f1d97f622eda Mon Sep 17 00:00:00 2001 From: jiahao Date: Mon, 2 Aug 2021 23:56:36 +0800 Subject: [PATCH] minor tweaks. --- patches/ngx_http_redis-0.3.9-variables_in_redis_pass.patch | 3 +-- util/mirror-tarballs | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/patches/ngx_http_redis-0.3.9-variables_in_redis_pass.patch b/patches/ngx_http_redis-0.3.9-variables_in_redis_pass.patch index ab8a159..43e4472 100644 --- a/patches/ngx_http_redis-0.3.9-variables_in_redis_pass.patch +++ b/patches/ngx_http_redis-0.3.9-variables_in_redis_pass.patch @@ -103,7 +103,7 @@ clcf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); clcf->handler = ngx_http_redis_handler; -@@ -936,10 +957,84 @@ +@@ -936,10 +956,83 @@ rlcf->db = ngx_http_get_variable_index(cf, &ngx_http_redis_db); rlcf->auth = ngx_http_get_variable_index(cf, &ngx_http_redis_auth); @@ -141,7 +141,6 @@ + if (rlcf->upstream.upstream == NULL) { + return NGX_CONF_ERROR; + } -+ + return NGX_CONF_OK; } diff --git a/util/mirror-tarballs b/util/mirror-tarballs index 972a52b..c501a11 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -657,9 +657,6 @@ echo "applying ngx_http_redis-$ver-default_port_fix.patch" patch -p1 < $root/patches/ngx_http_redis-$ver-default_port_fix.patch || exit 1 echo -# echo "applying ngx_http_redis-$ver-without_gzip.patch" -# patch -p1 < $root/patches/ngx_http_redis-$ver-without_gzip.patch || exit 1 -# echo cd .. #################################