set CURLOPT_MAXREDIRS to 30
This commit is contained in:
parent
a2dc0e7190
commit
9868cf7915
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ HMS_connect (const char *format, ...)
|
|||
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, (long)CURL_IPRESOLVE_V4);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, (long)cv_masterserver_timeout.value);
|
||||
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 30L);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue