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:
ceb0556
)
- cancel maintenance message if connection is confirmed while a maintenance message...
author
Bart Polot
<bart@net.in.tum.de>
Wed, 26 Oct 2016 04:20:46 +0000
(
04:20
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 26 Oct 2016 04:20:46 +0000
(
04:20
+0000)
src/cadet/gnunet-service-cadet_connection.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_connection.c
b/src/cadet/gnunet-service-cadet_connection.c
index 6dbabb5ab8ffff93b04cb64a64aaa9e72e9b60ee..da0d6e20daa15b8b888357efd1c7fbf9969a1dbd 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_connection.c
+++ b/
src/cadet/gnunet-service-cadet_connection.c
@@
-1583,6
+1583,11
@@
connection_reset_timeout (struct CadetConnection *c, int fwd)
if (GCC_is_origin (c, fwd)) /* Startpoint */
{
schedule_next_keepalive (c, fwd);
+ if (NULL != c->maintenance_q)
+ {
+ GCP_send_cancel (c->maintenance_q);
+ c->maintenance_q = NULL; /* Is set to NULL by conn_message_sent anyway */
+ }
}
else /* Relay, endpoint. */
{