diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-15 18:53:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-15 18:53:21 +0000 |
commit | f89075a856cfc9bf9ad52d0b90e9cc30025a724e (patch) | |
tree | 2be7122941a3d89b786eb564ae45eeb94d4e7b34 | |
parent | fe5a260dcfd5a746197621c529a0d4784e51d0f7 (diff) | |
download | gnunet-f89075a856cfc9bf9ad52d0b90e9cc30025a724e.tar.gz gnunet-f89075a856cfc9bf9ad52d0b90e9cc30025a724e.zip |
increase attempt count
-rw-r--r-- | src/util/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/client.c b/src/util/client.c index 6d1c66687..92c79f824 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -42,7 +42,7 @@ | |||
42 | * Note that if we succeeded transmitting a request but failed to read | 42 | * Note that if we succeeded transmitting a request but failed to read |
43 | * a response, we do NOT re-try. | 43 | * a response, we do NOT re-try. |
44 | */ | 44 | */ |
45 | #define MAX_ATTEMPTS 10 | 45 | #define MAX_ATTEMPTS 50 |
46 | 46 | ||
47 | 47 | ||
48 | /** | 48 | /** |
@@ -798,7 +798,6 @@ client_notify (void *cls, size_t size, void *buf) | |||
798 | GNUNET_assert (NULL != th->sock->sock); | 798 | GNUNET_assert (NULL != th->sock->sock); |
799 | GNUNET_CONNECTION_ignore_shutdown (th->sock->sock, | 799 | GNUNET_CONNECTION_ignore_shutdown (th->sock->sock, |
800 | th->sock->ignore_shutdown); | 800 | th->sock->ignore_shutdown); |
801 | |||
802 | delay = GNUNET_TIME_relative_min (delay, th->sock->back_off); | 801 | delay = GNUNET_TIME_relative_min (delay, th->sock->back_off); |
803 | th->sock->back_off | 802 | th->sock->back_off |
804 | = GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (th->sock->back_off, 2), | 803 | = GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (th->sock->back_off, 2), |