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:
43abaee
)
stop the dht as fast as possible
author
Philipp Tölke
<toelke@in.tum.de>
Sat, 24 Sep 2011 07:16:15 +0000
(07:16 +0000)
committer
Philipp Tölke
<toelke@in.tum.de>
Sat, 24 Sep 2011 07:16:15 +0000
(07:16 +0000)
src/vpn/gnunet-service-dns.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-service-dns.c
b/src/vpn/gnunet-service-dns.c
index d87086ea7bdb919783d89d2d756cdd14b568f5a4..e97da19218bb2a5c44310193ff48bc8f77818415 100644
(file)
--- a/
src/vpn/gnunet-service-dns.c
+++ b/
src/vpn/gnunet-service-dns.c
@@
-653,6
+653,8
@@
receive_dht (void *cls, struct GNUNET_TIME_Absolute exp
((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
@@
receive_dht (void *cls, struct GNUNET_TIME_Absolute exp
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);
}
/**