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:
f3bc1a6
)
- don't queue more than one ax_kx at a time
author
Bart Polot
<bart@net.in.tum.de>
Mon, 27 Apr 2015 19:15:57 +0000
(19:15 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 27 Apr 2015 19:15:57 +0000
(19:15 +0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index 69e2ea8f178ee4c71e98295ad6e5050d98427159..f0232fee2552548c528e38a29e7e47b209143e8e 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-4133,6
+4133,11
@@
GCT_send_ax_kx (struct CadetTunnel *t)
struct GNUNET_CADET_AX_KX msg;
LOG (GNUNET_ERROR_TYPE_INFO, "===> AX_KX for %s\n", GCT_2s (t));
+ if (NULL != t->ephm_h)
+ {
+ LOG (GNUNET_ERROR_TYPE_INFO, " already queued\n");
+ return;
+ }
msg.header.size = htons (sizeof (msg));
msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_AX_KX);