#17317: nginx floods log
-----------------------+-----------------------------------
Reporter: raver@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Barrier Breaker 14.07
Resolution: | Keywords: nginx
-----------------------+-----------------------------------
Comment (by raver@…):
I found that it part of '400-nginx-1.4.x_proxy_protocol_patch_v2.patch'
that's introducing this bug, probably some leftover code.[[BR]]
The following patch solves the problem.
{{{
diff --git
a/net/nginx/patches/400-nginx-1.4.x_proxy_protocol_patch_v2.patch
b/net/nginx/patches/400-nginx-1.4.x_proxy_protocol_patch_v2.patch
index 52c1ce7..ba63834 100644
--- a/net/nginx/patches/400-nginx-1.4.x_proxy_protocol_patch_v2.patch
+++ b/net/nginx/patches/400-nginx-1.4.x_proxy_protocol_patch_v2.patch
@@ -882,17 +882,6 @@ Index: nginx-1.4.7/src/http/ngx_http_request.c
#if (NGX_HTTP_SSL)
-@@ -1291,6 +1368,10 @@ ngx_http_read_request_header(ngx_http_re
- c = r->connection;
- rev = c->read;
-
-+fprintf(stderr, "DEBUG: pos: %p, last: %p, start: %p, end: %p\n",
-+ r->header_in->pos, r->header_in->last,
r->header_in->start,
-+ r->header_in->end);
-+
- n = r->header_in->last - r->header_in->pos;
-
- if (n > 0) {
Index: nginx-1.4.7/src/http/ngx_http_upstream.c
===================================================================
--- nginx-1.4.7.orig/src/http/ngx_http_upstream.c
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17317#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets