Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't support nginx 1.11 or later version #154

Open
liuyangfa opened this issue Jul 7, 2017 · 2 comments
Open

Don't support nginx 1.11 or later version #154

liuyangfa opened this issue Jul 7, 2017 · 2 comments

Comments

@liuyangfa
Copy link

No description provided.

@Rohithzr
Copy link

Rohithzr commented Dec 20, 2017

on nginx 1.12.1 i get this error

/tmp/nginx-1.12.1$ sudo 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 18 with fuzz 2 (offset -14 lines).
Hunk #2 succeeded at 47 with fuzz 2 (offset 4 lines).

cat src/core/ngx_log.c.rej
--- src/core/ngx_log.c
+++ src/core/ngx_log.c
@@ -66,7 +66,7 @@

 static const char *debug_levels[] = {
     "debug_core", "debug_alloc", "debug_mutex", "debug_event",
-    "debug_http", "debug_mail", "debug_mysql"
+    "debug_http", "debug_mail", "debug_mysql", "debug_tcp"
 };

@CJFuentes
Copy link

You need to use tcp_1_8.patch instead of tcp.patch for versions higher than 1.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants