Fix reverse proxy retry issue

This commit is contained in:
2022-07-08 11:37:07 +02:00
parent f0d8a3db4c
commit e0e44e9c26

View File

@ -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;
}