This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 61bd9261bfa658d724bc1fc77e3cb19bef8971c7
Author: Mathieu Schroeter <[email protected]>
Date:   Wed Nov 1 06:58:04 2017 +0100

    Use small timeouts with cURL
---
 src/blupi.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/blupi.cxx b/src/blupi.cxx
index dd38c9a..f7bf031 100644
--- a/src/blupi.cxx
+++ b/src/blupi.cxx
@@ -510,6 +510,8 @@ CheckForUpdates ()
   curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1);
   curl_easy_setopt (curl, CURLOPT_FAILONERROR, 1);
   curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1);
+  curl_easy_setopt (curl, CURLOPT_TIMEOUT, 20);
+  curl_easy_setopt (curl, CURLOPT_CONNECTTIMEOUT, 5);
 
   curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, updateCallback);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/planetblupi.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to