mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
nginx: fix leftover code that flood the logs
Stop flooding logs as stated at https://dev.openwrt.org/ticket/17317. Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user