From eed6e2962e3727231ecd57157c1f5bcdd0502f5c Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Sun, 20 Jan 2019 17:33:35 +0300 Subject: [PATCH] Do not log events 98 and 99 as errors --- src/proxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy.c b/src/proxy.c index 16565f7..3a6e5bd 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -887,6 +887,7 @@ for(;;){ if(res != 99) { RETURN(res); } + res = 0; } contentlength64 = 0; inbuf = 0; @@ -1051,6 +1052,7 @@ for(;;){ if((res = mapsocket(param, conf.timeouts[CONNECTION_S])) != 98){ RETURN(res); } + res = 0; param->waitserver64 = 0; } } while(param->chunked);