changeset 753:135c5f03ef8e trunk

[svn] - set timeout value to 3 seconds
author nenolod
date Wed, 28 Feb 2007 17:33:16 -0800
parents 560292f1ebb3
children a77533b76084
files ChangeLog src/curl/curl.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 28 07:32:41 2007 -0800
+++ b/ChangeLog	Wed Feb 28 17:33:16 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-28 15:32:41 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1602]
+  - fix a stupid C++ error
+  
+  trunk/src/console/Audacious_Driver.cxx |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-02-28 15:29:57 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1600]
   - only claim URLs that actually belong to us. Closes #783.
--- a/src/curl/curl.c	Wed Feb 28 07:32:41 2007 -0800
+++ b/src/curl/curl.c	Wed Feb 28 17:33:16 2007 -0800
@@ -32,7 +32,7 @@
 #define REVERSE_SEEK_SIZE 2048
 
 #define DEBUG_CONNECTION 0
-#define DEBUG_OPEN_CLOSE 0
+#define DEBUG_OPEN_CLOSE 1
 #define DEBUG_SEEK 0
 #define DEBUG_READ 0
 #define DEBUG_HEADERS 0
@@ -548,7 +548,7 @@
   curl_easy_setopt(handle->curl, CURLOPT_WRITEDATA, handle);
   curl_easy_setopt(handle->curl, CURLOPT_HEADERDATA, handle);
 
-  curl_easy_setopt(handle->curl, CURLOPT_CONNECTTIMEOUT, 10);
+  curl_easy_setopt(handle->curl, CURLOPT_CONNECTTIMEOUT, 3);
 
   curl_easy_setopt(handle->curl, CURLOPT_SSL_VERIFYPEER, 0);
   curl_easy_setopt(handle->curl, CURLOPT_SSL_VERIFYHOST, 0);