[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 04/08: dht/client: Explain why the connection:interrupte
From: |
gnunet |
Subject: |
[gnunet-scheme] 04/08: dht/client: Explain why the connection:interrupted code is correct. |
Date: |
Thu, 03 Feb 2022 16:00:52 +0100 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit f95e0024a025f816a04e8f243b10c2564c42c1e5
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Feb 3 13:08:54 2022 +0000
dht/client: Explain why the connection:interrupted code is correct.
* gnu/gnunet/dht/client.scm
(reconnect)[error-handler]<connection:interrupted>: Remove TODO,
explain why nothing should be done here and add a reference to the
test suite.
---
gnu/gnunet/dht/client.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/gnunet/dht/client.scm b/gnu/gnunet/dht/client.scm
index 96ddece..ddb1c5d 100644
--- a/gnu/gnunet/dht/client.scm
+++ b/gnu/gnunet/dht/client.scm
@@ -791,8 +791,10 @@ code automatically tries to reconnect, so @var{connected}
can be called after
;; Tell the event loop that it is time to restart,
;; unless it is already stopping.
(maybe-send-control-message!* terminal-condition 'reconnect!))
- ;; TODO: is this cargo-copying from (gnu gnunet nse client)
- ;; correct?
+ ;; 'control' closed the queue and will exit, nothing to do here!
+ ;;
+ ;; Tested by "(DHT) close, not connected --> all fibers stop,
+ ;; no callbacks called" in tests/distributed-hash-table.scm.
((connection:interrupted)
(values))
(else
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] branch master updated (2ea2981 -> 1a21216), gnunet, 2022/02/03
- [gnunet-scheme] 02/08: dht/client: Remove another addressed TODO., gnunet, 2022/02/03
- [gnunet-scheme] 03/08: dht/client: Remove yet another addressed TODO., gnunet, 2022/02/03
- [gnunet-scheme] 01/08: dht/client: Remove addressed TODO., gnunet, 2022/02/03
- [gnunet-scheme] 07/08: tests/distributed-hash-table: Test reconnecting and callbacks., gnunet, 2022/02/03
- [gnunet-scheme] 08/08: doc: Fix typo., gnunet, 2022/02/03
- [gnunet-scheme] 04/08: dht/client: Explain why the connection:interrupted code is correct.,
gnunet <=
- [gnunet-scheme] 05/08: dht/client: Correct call to 'maybe-send-control-message!*'., gnunet, 2022/02/03
- [gnunet-scheme] 06/08: dht/client: Handle ill-formed messages correctly., gnunet, 2022/02/03