[52758] trunk/base/src/pextlib1.0/curl.c

jmr at macports.org jmr at macports.org
Mon Jun 22 15:27:03 PDT 2009


Revision: 52758
          http://trac.macports.org/changeset/52758
Author:   jmr at macports.org
Date:     2009-06-22 15:27:02 -0700 (Mon, 22 Jun 2009)
Log Message:
-----------
set curl timeouts to more reasonable values (probably still not ideal)

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/curl.c

Modified: trunk/base/src/pextlib1.0/curl.c
===================================================================
--- trunk/base/src/pextlib1.0/curl.c	2009-06-22 21:54:29 UTC (rev 52757)
+++ trunk/base/src/pextlib1.0/curl.c	2009-06-22 22:27:02 UTC (rev 52758)
@@ -54,9 +54,9 @@
  * Some compiled-in constants that we may wish to change later, given more
  * empirical data.  These represent "best guess" values for now.
  */
-#define _CURL_CONNECTION_TIMEOUT	((long)(5 * 60))	/* 5 minutes */
+#define _CURL_CONNECTION_TIMEOUT	((long)(30))		/* 30 seconds */
 #define _CURL_MINIMUM_XFER_SPEED	((long)1024)		/* 1Kb/sec */
-#define _CURL_MINIMUM_XFER_TIMEOUT	((long)(10 * 60))	/* 10 minutes */
+#define _CURL_MINIMUM_XFER_TIMEOUT	((long)(60))		/* 1 minute */
 
 /* ========================================================================= **
  * Definitions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090622/c67817bb/attachment.html>


More information about the macports-changes mailing list