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:
fe5a260
)
increase attempt count
author
Christian Grothoff
<christian@grothoff.org>
Sun, 15 Nov 2009 18:53:21 +0000
(18:53 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 15 Nov 2009 18:53:21 +0000
(18:53 +0000)
src/util/client.c
patch
|
blob
|
history
diff --git
a/src/util/client.c
b/src/util/client.c
index 6d1c6668759b2eccb2b2529fcc58f049ece5f198..92c79f824e26b5e4d3adae5807c97fbdfd6eec4b 100644
(file)
--- a/
src/util/client.c
+++ b/
src/util/client.c
@@
-42,7
+42,7
@@
* Note that if we succeeded transmitting a request but failed to read
* a response, we do NOT re-try.
*/
-#define MAX_ATTEMPTS
1
0
+#define MAX_ATTEMPTS
5
0
/**
@@
-798,7
+798,6
@@
client_notify (void *cls, size_t size, void *buf)
GNUNET_assert (NULL != th->sock->sock);
GNUNET_CONNECTION_ignore_shutdown (th->sock->sock,
th->sock->ignore_shutdown);
-
delay = GNUNET_TIME_relative_min (delay, th->sock->back_off);
th->sock->back_off
= GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (th->sock->back_off, 2),