From 8d006b08e69630e8abb143ffffe41a566e0b5125 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sun, 2 Feb 2025 22:54:46 -0500 Subject: [PATCH] set CURLOPT_MAXREDIRS to 30 --- src/netcode/http-mserv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netcode/http-mserv.c b/src/netcode/http-mserv.c index 8ce20af95..b6bd62e39 100644 --- a/src/netcode/http-mserv.c +++ b/src/netcode/http-mserv.c @@ -232,6 +232,7 @@ HMS_connect (int proto, const char *format, ...) curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); + curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 30L); #ifndef NO_IPV6 if (proto == PROTO_V6)