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:
360fa41
)
resume curl download if we paused it before
author
Christian Grothoff
<christian@grothoff.org>
Tue, 5 Jun 2018 08:25:26 +0000
(10:25 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 5 Jun 2018 08:25:26 +0000
(10:25 +0200)
src/gns/gnunet-gns-proxy.c
patch
|
blob
|
history
diff --git
a/src/gns/gnunet-gns-proxy.c
b/src/gns/gnunet-gns-proxy.c
index 918c1d110ea77aa59260ee9f77507343db36f582..84b8da04ab39d9e3c647af64dc1c3c89355a786e 100644
(file)
--- a/
src/gns/gnunet-gns-proxy.c
+++ b/
src/gns/gnunet-gns-proxy.c
@@
-1431,6
+1431,12
@@
curl_upload_cb (void *buf,
(SOCKS5_SOCKET_UPLOAD_DONE == s5r->state) )
{
s5r->state = SOCKS5_SOCKET_DOWNLOAD_STARTED;
+ if (GNUNET_YES == s5r->curl_paused)
+ {
+ s5r->curl_paused = GNUNET_NO;
+ curl_easy_pause (s5r->curl,
+ CURLPAUSE_CONT);
+ }
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Completed CURL UPLOAD %s%s\n",
s5r->domain,