gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet-scheme] 04/05: dht/client: Continue after cancellation.


From: gnunet
Subject: [gnunet-scheme] 04/05: dht/client: Continue after cancellation.
Date: Tue, 15 Feb 2022 11:03:28 +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 1533dd81abb806e4e1b85844341b966d36049aff
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Feb 15 09:59:41 2022 +0000

    dht/client: Continue after cancellation.
    
    This fixes the failing test of the following commit.
    
    * gnu/gnunet/dht/client.scm (reconnect)[control]<stop-search!>: Call
      'control' afterwards.
---
 gnu/gnunet/dht/client.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/gnunet/dht/client.scm b/gnu/gnunet/dht/client.scm
index 309456b..a5be707 100644
--- a/gnu/gnunet/dht/client.scm
+++ b/gnu/gnunet/dht/client.scm
@@ -910,7 +910,9 @@ operation is cancelled, return @code{#false} instead."
           (hashv-remove! old-id->operation-map (get:unique-id get))
           (when (hashv-ref id->operation-map (get:unique-id get))
             (hashv-remove! id->operation-map (get:unique-id get))
-            (send-stop-get! mq get)))
+            (send-stop-get! mq get))
+          ;; Continue!
+          (control))
          (('put! put)
           ;; Send the put operation to the DHT service.
           (send-message! mq (put:message put))

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]