Welcome! Log In Create A New Profile

Advanced

Re: upstream request hash patch

Sergey A. Osokin
January 14, 2010 06:22AM
Hi Marius,

On Wed, Jan 13, 2010 at 11:15:52PM +0200, Marius Danciu wrote:
> Hello all,
>
> I tried applying the patch described here
> http://wiki.nginx.org/NginxHttpUpstreamRequestHashModulehttp://www.google.com/url?sa=D&q=http://wiki.nginx.org/NginxHttpUpstreamRequestHashModule&usg=AFQjCNGXcoRKlxQ777m2ZngKEv2Myk2gUwon
> source from build 0.7.63 however the patch failed. Is there some
> versions
> incompatibility of some sort?
>
> Br's,
> Marius

try to use following patch instead of nginx.patch from
Nginx_upstream_hash-0.3.tar.gz distribution.

--- src/http/ngx_http_upstream.h.orig 2010-01-14 04:20:57.000000000 +0300
+++ src/http/ngx_http_upstream.h 2010-01-14 04:22:00.000000000 +0300
@@ -105,6 +105,10 @@

ngx_array_t *servers; /* ngx_http_upstream_server_t */

+ ngx_array_t *values;
+ ngx_array_t *lengths;
+ ngx_uint_t retries;
+
ngx_uint_t flags;
ngx_str_t host;
u_char *file_name;

--
Sergey A. Osokin,
osa@FreeBSD.ORG
osa@FreeBSD.ORG.ru

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

upstream request hash patch

Marius Danciu January 13, 2010 04:20PM

Re: upstream request hash patch

Sergey A. Osokin January 14, 2010 06:22AM

Re: upstream request hash patch

agentzh January 14, 2010 08:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 255
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready