Nginx_upstream_hash module

dear all:

      can someone give a new module can support the new stable 

version?

thanks

dennis cao at 2009-9-22 23:30 wrote:

dear all¡G
can someone give a new module can support the new stable version?
For nginx-0.7.62, this patch may work:

diff -ruN src/http/ngx_http_upstream.h src_hash/http/ngx_http_upstream.h
— src/http/ngx_http_upstream.h 2009-09-07 17:49:51.000000000 +0800
+++ src_hash/http/ngx_http_upstream.h 2009-09-23 17:34:16.000000000
+0800
@@ -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;

experiencing the same problem. not working with Weibin Y. patch either

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,8421,8795#msg-8795

wolfenstock at 2009-9-24 10:34 wrote:

experiencing the same problem. not working with Weibin Y. patch either

What’s your problem? My patch should work with nginx-0.7.62.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs