projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb00c34
)
(no commit message)
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 12 Jul 2010 11:14:03 +0000
(11:14 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 12 Jul 2010 11:14:03 +0000
(11:14 +0000)
src/transport/plugin_transport_http.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_http.c
b/src/transport/plugin_transport_http.c
index 48886cc0742070a66ad6e5d416f3c5e7f54b1032..2671a504d6ebac809106674254e6008e14923dfc 100644
(file)
--- a/
src/transport/plugin_transport_http.c
+++ b/
src/transport/plugin_transport_http.c
@@
-1313,12
+1313,14
@@
static void curl_perform (void *cls,
{
running = 0;
mret = curl_multi_perform (plugin->multi_handle, &running);
- if (
running < handles_last_run
)
+ if (
(running < handles_last_run) && (running>0)
)
{
do
{
msg = curl_multi_info_read (plugin->multi_handle, &running);
+ if (running == 0)
+ break;
/* get session for affected curl handle */
GNUNET_assert ( msg->easy_handle != NULL );
curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, (char *) &ps);