Ver Fonte

Do not log events 98 and 99 as errors

z3APA3A há 7 anos atrás
pai
commit
eed6e2962e
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/proxy.c

+ 2 - 0
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);