gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17893 - libmicrohttpd/src/testcurl


From: gnunet
Subject: [GNUnet-SVN] r17893 - libmicrohttpd/src/testcurl
Date: Tue, 1 Nov 2011 19:12:26 +0100

Author: grothoff
Date: 2011-11-01 19:12:26 +0100 (Tue, 01 Nov 2011)
New Revision: 17893

Modified:
   libmicrohttpd/src/testcurl/daemontest_post_loop.c
Log:
fix testcase, do not sleep if client is inactive

Modified: libmicrohttpd/src/testcurl/daemontest_post_loop.c
===================================================================
--- libmicrohttpd/src/testcurl/daemontest_post_loop.c   2011-11-01 17:52:48 UTC 
(rev 17892)
+++ libmicrohttpd/src/testcurl/daemontest_post_loop.c   2011-11-01 18:12:26 UTC 
(rev 17893)
@@ -392,7 +392,7 @@
           if ((CURLM_OK == curl_multi_timeout (multi, &ctimeout)) &&
               (ctimeout < timeout) && (ctimeout >= 0))
             timeout = ctimeout;
-         if (c == NULL)
+         if ( (c == NULL) || (running == 0) )
            timeout = 0; /* terminate quickly... */
           tv.tv_sec = timeout / 1000;
           tv.tv_usec = (timeout % 1000) * 1000;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]