[71103] trunk/base/src/pextlib1.0/curl.c
jmr at macports.org
jmr at macports.org
Wed Sep 1 03:53:47 PDT 2010
Revision: 71103
http://trac.macports.org/changeset/71103
Author: jmr at macports.org
Date: 2010-09-01 03:53:44 -0700 (Wed, 01 Sep 2010)
Log Message:
-----------
we don't want to set CURLOPT_TIMEOUT when fetching files, since as per the man page it is "the maximum time in seconds that you allow the libcurl transfer operation to take"
Modified Paths:
--------------
trunk/base/src/pextlib1.0/curl.c
Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c 2010-09-01 10:32:03 UTC (rev 71102)
+++ trunk/base/src/pextlib1.0/curl.c 2010-09-01 10:53:44 UTC (rev 71103)
@@ -272,13 +272,6 @@
break;
}
- /* set timeout on connections */
- theCurlCode = curl_easy_setopt(theHandle, CURLOPT_TIMEOUT, _CURL_CONNECTION_TIMEOUT);
- if (theCurlCode != CURLE_OK) {
- theResult = SetResultFromCurlErrorCode(interp, theCurlCode);
- break;
- }
-
/* set minimum connection speed */
theCurlCode = curl_easy_setopt(theHandle, CURLOPT_LOW_SPEED_LIMIT, _CURL_MINIMUM_XFER_SPEED);
if (theCurlCode != CURLE_OK) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100901/d710a442/attachment.html>
More information about the macports-changes
mailing list