From e0e44e9c2680f6677966af2eaf35ae7a6d7d714b Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 8 Jul 2022 11:37:07 +0200 Subject: [PATCH] Fix reverse proxy retry issue --- src/lib/rev_proxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/rev_proxy.c b/src/lib/rev_proxy.c index 55a4762..3447a95 100644 --- a/src/lib/rev_proxy.c +++ b/src/lib/rev_proxy.c @@ -364,6 +364,7 @@ int rev_proxy_init(http_req *req, http_res *res, http_status_ctx *ctx, host_conf } print(ERR_STR "Unable to receive response from server: %s" CLR_STR, sock_strerror(&rev_proxy)); sprintf(err_msg, "Unable to receive response from server: %s.", sock_strerror(&rev_proxy)); + retry = tries < 4; goto proxy_err; }