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,
[email protected]
[email protected]
On Thu, Jan 14, 2010 at 7:17 PM, Sergey A. Osokin [email protected]
wrote:
try to use following patch instead of nginx.patch from
Nginx_upstream_hash-0.3.tar.gz distribution.
Hmm, I’m just wondering how hard it would be to eliminate patching the
nginx core to use such modules because ngx_upstream_hash is so useful
and applying patches is painful when upgrading the core 
I’ll have a closer look when we get ngx_rds_json, ngx_set_array,
ngx_rds_tt2, and perhaps ngx_set_urlencode modules ready.
Cheers,
-agentzh