[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33982 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33982 - gnunet/src/cadet |
Date: |
Mon, 21 Jul 2014 02:15:05 +0200 |
Author: bartpolot
Date: 2014-07-21 02:15:05 +0200 (Mon, 21 Jul 2014)
New Revision: 33982
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- when a connection is broken, remove it from tunnel, allow tunnel to update
cstate and try to create new connections
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-21 00:15:04 UTC
(rev 33981)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-21 00:15:05 UTC
(rev 33982)
@@ -1825,6 +1825,8 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33982 - gnunet/src/cadet,
gnunet <=