summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-07-12 12:34:32 +0200
committerThomas Deutschmann <whissi@gentoo.org>2017-07-12 12:34:32 +0200
commita10dc685fb4d5ab1d8f0ed6a5e6a0ec536552ace (patch)
tree33a9f1a3d910a49760d5c4e736f2ee7e933cf7c7 /www-servers/nginx/files
parentdev-python/keyrings_alt: ia64 keyworded, bug #573954 (diff)
downloadgentoo-a10dc685fb4d5ab1d8f0ed6a5e6a0ec536552ace.tar.gz
gentoo-a10dc685fb4d5ab1d8f0ed6a5e6a0ec536552ace.tar.bz2
gentoo-a10dc685fb4d5ab1d8f0ed6a5e6a0ec536552ace.zip
www-servers/nginx: Security cleanup (bug #624552)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-servers/nginx/files')
-rw-r--r--www-servers/nginx/files/http_memc-0.17-issue_26.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/www-servers/nginx/files/http_memc-0.17-issue_26.patch b/www-servers/nginx/files/http_memc-0.17-issue_26.patch
deleted file mode 100644
index aefb04020145..000000000000
--- a/www-servers/nginx/files/http_memc-0.17-issue_26.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 2fbc95b6ece36e01e6fea8c5691ef1611d948943 Mon Sep 17 00:00:00 2001
-From: Thomas Deutschmann <whissi@gentoo.org>
-Date: Tue, 15 Nov 2016 18:56:30 +0100
-Subject: [PATCH] Upstream: don't consider default_port when matching
- upstreams.
-
-Upstream changed API [Link 1] and removed ngx_http_upstream_srv_conf_t.default_port.
-
-Upstream's own changeset [Link 2] suggests that the check was not needed at
-all.
-
-Link 1: http://hg.nginx.org/nginx/rev/4dea01cf49e8
-Link 2: http://hg.nginx.org/nginx/rev/3fa5983b6b44
-Bug: https://github.com/openresty/memc-nginx-module/issues/26
----
- src/ngx_http_memc_util.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/ngx_http_memc_util.c b/src/ngx_http_memc_util.c
-index 090bf43..20cb877 100644
---- a/src/ngx_http_memc_util.c
-+++ b/src/ngx_http_memc_util.c
-@@ -141,12 +141,14 @@ ngx_http_memc_upstream_add(ngx_http_request_t *r, ngx_url_t *url)
- continue;
- }
-
-+#if defined(nginx_version) && nginx_version < 1011006
- if (uscfp[i]->default_port && url->default_port
- && uscfp[i]->default_port != url->default_port)
- {
- dd("upstream_add: default_port not match");
- continue;
- }
-+#endif
-
- return uscfp[i];
- }
---
-2.10.2
-