gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r17009 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r17009 - gnunet/src/vpn
Date: Sat, 24 Sep 2011 09:16:15 +0200

Author: toelke
Date: 2011-09-24 09:16:15 +0200 (Sat, 24 Sep 2011)
New Revision: 17009

Modified:
   gnunet/src/vpn/gnunet-service-dns.c
Log:
stop the dht as fast as possible

Modified: gnunet/src/vpn/gnunet-service-dns.c
===================================================================
--- gnunet/src/vpn/gnunet-service-dns.c 2011-09-23 15:41:15 UTC (rev 17008)
+++ gnunet/src/vpn/gnunet-service-dns.c 2011-09-24 07:16:15 UTC (rev 17009)
@@ -653,6 +653,8 @@
       ((struct receive_dht_cls *) cls)->handle;
   GNUNET_free (cls);
 
+  GNUNET_DHT_get_stop (handle);
+
   GNUNET_assert (type == GNUNET_BLOCK_TYPE_DNS);
 
   /* If no query with this id is pending, ignore the block */
@@ -742,8 +744,6 @@
     server_notify = GNUNET_SERVER_notify_transmit_ready 
(query_states[id].client, len,
                                                          
GNUNET_TIME_UNIT_FOREVER_REL,
                                                          &send_answer, 
query_states[id].client);
-
-  GNUNET_DHT_get_stop (handle);
 }
 
 /**




reply via email to

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