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:
a38d47a
)
- when a connection is broken, remove it from tunnel, allow tunnel to update cstate...
author
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:05 +0000
(
00:15
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:05 +0000
(
00:15
+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 c9bd00224397f2022405ff19c1463d8983eeb38a..8eefac411409317797aa3a72457ee9571eb27aa9 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_connection.c
+++ b/
src/cadet/gnunet-service-cadet_connection.c
@@
-1825,6
+1825,8
@@
GCC_handle_broken (void* cls,
path_invalidate (c->path);
GCP_notify_broken_link (endpoint, &msg->peer1, &msg->peer2);
c->state = CADET_CONNECTION_DESTROYED;
+ GCT_remove_connection (t, c);
+ c->t = NULL;
pending_msgs = c->pending_messages;
/* GCP_connection_pop will destroy the connection when the last message