mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
upgraded ngx_http_redis module to 0.3.9. (#754)
This commit is contained in:
17
patches/ngx_http_redis-0.3.9-default_port_fix.patch
Normal file
17
patches/ngx_http_redis-0.3.9-default_port_fix.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- redis-nginx-module-0.3.9/ngx_http_redis_module.c 2021-08-02 23:01:47.810190756 +0800
|
||||
+++ redis-nginx-module-0.3.9-patched/ngx_http_redis_module.c 2021-08-02 23:02:06.861317611 +0800
|
||||
@@ -1021,12 +1021,14 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
+#if (nginx_version < 1011006)
|
||||
if (uscfp[i]->default_port
|
||||
&& url->default_port
|
||||
&& uscfp[i]->default_port != url->default_port)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
+#endif
|
||||
|
||||
return uscfp[i];
|
||||
}
|
Reference in New Issue
Block a user