[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34076 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34076 - gnunet/src/cadet |
Date: |
Tue, 29 Jul 2014 16:53:45 +0200 |
Author: bartpolot
Date: 2014-07-29 16:53:45 +0200 (Tue, 29 Jul 2014)
New Revision: 34076
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- mark connections as to be destroyed by the _sent continuation
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-29 14:01:37 UTC
(rev 34075)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-29 14:53:45 UTC
(rev 34076)
@@ -1290,6 +1290,7 @@
int destroyed;
t = c->t;
+ c->destroy = GNUNET_YES;
destroyed = GNUNET_NO;
neighbor = get_hop (c, GNUNET_NO);
@@ -1350,6 +1351,7 @@
int destroyed;
t = c->t;
+ c->destroy = GNUNET_YES;
destroyed = GNUNET_NO;
neighbor = get_hop (c, GNUNET_YES);
@@ -1885,6 +1887,7 @@
t = c->t;
fwd = is_fwd (c, id);
+ c->destroy = GNUNET_YES;
if (GCC_is_terminal (c, fwd))
{
struct GNUNET_MessageHeader *out_msg;
@@ -1926,7 +1929,6 @@
{
GNUNET_assert (NULL == GCC_send_prebuilt_message (message, 0, 0, c, fwd,
GNUNET_YES, NULL, NULL));
- c->destroy = GNUNET_YES;
connection_cancel_queues (c, !fwd);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34076 - gnunet/src/cadet,
gnunet <=