yaoweibin / nginx_tcp_proxy_module

add the feature of tcp proxy with nginx, with health check and status monitor
http://yaoweibin.github.com/nginx_tcp_proxy_module
1.64k stars 366 forks source link

patch failed #141

Closed YouZhengChuan closed 7 years ago

YouZhengChuan commented 7 years ago

nginx-1.9.13 patch failed

patch -p1 < ../nginx_tcp_proxy_module/tcp.patch  
patching file src/core/ngx_log.c
Hunk #1 FAILED at 66.
1 out of 1 hunk FAILED -- saving rejects to file src/core/ngx_log.c.rej
patching file src/core/ngx_log.h
Hunk #1 FAILED at 29.
Hunk #2 FAILED at 36.
2 out of 2 hunks FAILED -- saving rejects to file src/core/ngx_log.h.rej
patching file src/event/ngx_event_connect.h
Hunk #1 succeeded at 33 (offset 1 line).
Hunk #2 succeeded at 45 with fuzz 2 (offset 2 lines).
yankaiqian commented 7 years ago

had you tried the file tcp_1_8.patch ? it is used for version 1.8 or later.

kyle170 commented 7 years ago

the tcp_1_8.patch works under this version number