Healthcheck_nginx_upstreams patch fails for Nginx 1.2.1

Hello,

We tried to test the new Nginx 1.2.1 release but we’re using the
healthcheck_nginx_upstreams module 1. With Nginx 1.1.x and 1.2.0 we
could succesfully apply the Healthcheck module patch but hunks fail for
Nginx 1.2.1. Any hints on what we can do about it?

patch --dry-run -p1 < nginx.patch

patching file src/http/ngx_http_upstream.c
Hunk #1 succeeded at 4403 (offset 110 lines).
patching file src/http/ngx_http_upstream.h
Hunk #1 succeeded at 110 (offset 1 line).
patching file src/http/ngx_http_upstream_round_robin.c
Hunk #1 succeeded at 5 (offset 1 line).
Hunk #2 FAILED at 14.
Hunk #3 succeeded at 35 (offset 1 line).
Hunk #4 succeeded at 77 (offset 8 lines).
Hunk #5 succeeded at 399 (offset 11 lines).
Hunk #6 FAILED at 434.
Hunk #7 FAILED at 495.
Hunk #8 FAILED at 600.
Hunk #9 FAILED at 625.
Hunk #10 FAILED at 645.
6 out of 10 hunks FAILED – saving rejects to file
src/http/ngx_http_upstream_round_robin.c.rej
patching file src/http/ngx_http_upstream_round_robin.h
Hunk #1 succeeded at 29 (offset 3 lines)

Thanks,
Markus

Hello,

I have the same problem and have you find a solution for this…?

I hope developer will update the patch and continue to release going
forward.

Thanks in advance.

Posted at Nginx Forum:

Hi,

May be you can use my upstream check module:

This module is more powerful than the healthcheck_nginx_upstreams
module. And it has been merge into Tengine (Taobao’s fork of Nginx) :
http://tengine.taobao.org/

You can use it with the patch
(https://github.com/yaoweibin/nginx_upstream_check_module/blob/master/check_1.2.1%2B.patch)
with nginx-1.2.1+.

Thanks.

2012/6/25 n1xman [email protected]:

Hi 姚伟斌,

It has more features indeed and i see a patch for the upstream fair
module. The other module does not work with fair but i assume with the
patch yours does?

Thanks

-----Original message-----

i’ve compiled nginx 1.2 --with-http_flv_module and add its directive on
nginx.conf file, but looks like flv module is broken? can anyone give me
link for patch ? thanks

Posted at Nginx Forum:

Hi 姚伟斌,

Yes, I have already compiled and it is work fine with the patch.

Thanks for the module and we can live with this.

Posted at Nginx Forum:

Hello!

On Tue, Jun 26, 2012 at 05:39:40AM -0400, shahzaib1232 wrote:

i’ve compiled nginx 1.2 --with-http_flv_module and add its directive on
nginx.conf file, but looks like flv module is broken? can anyone give me
link for patch ? thanks

Please stop polluting unrelated threads. Thank you.

Maxim D.