r1087 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon May 21 22:24:11 EDT 2007
Author: tjw
Date: 2007-05-21 22:24:10 -0400 (Mon, 21 May 2007)
New Revision: 1087
Modified:
trunk/code/client/cl_curl.c
Log:
* (bug 3077) allow cURL to follow HTTP redirects (up to 5)
Modified: trunk/code/client/cl_curl.c
===================================================================
--- trunk/code/client/cl_curl.c 2007-05-19 17:12:49 UTC (rev 1086)
+++ trunk/code/client/cl_curl.c 2007-05-22 02:24:10 UTC (rev 1087)
@@ -298,6 +298,8 @@
CL_cURL_CallbackProgress);
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_PROGRESSDATA, NULL);
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_FAILONERROR, 1);
+ qcurl_easy_setopt(clc.downloadCURL, CURLOPT_FOLLOWLOCATION, 1);
+ qcurl_easy_setopt(clc.downloadCURL, CURLOPT_MAXREDIRS, 5);
clc.downloadCURLM = qcurl_multi_init();
if(!clc.downloadCURLM) {
qcurl_easy_cleanup(clc.downloadCURL);
More information about the quake3-commits
mailing list