[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38242 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38242 - gnunet/src/cadet |
Date: |
Fri, 4 Nov 2016 10:47:20 +0100 |
Author: bartpolot
Date: 2016-11-04 10:47:19 +0100 (Fri, 04 Nov 2016)
New Revision: 38242
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- simplify ack handling, die if trying to send conneciton-level ACK to clients
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-11-04 09:47:18 UTC
(rev 38241)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-11-04 09:47:19 UTC
(rev 38242)
@@ -560,15 +560,8 @@
uint32_t ack;
int delta;
- /* If origin, there is no connection to send ACKs. Wrong function! */
GCC_check_connections ();
- if (GCC_is_origin (c, fwd))
- {
- LOG (GNUNET_ERROR_TYPE_DEBUG, "connection %s is origin in %s\n",
- GCC_2s (c), GC_f2s (fwd));
- GNUNET_break (0);
- return;
- }
+ GNUNET_assert (GNUNET_NO == GCC_is_origin (c, fwd));
next_fc = fwd ? &c->fwd_fc : &c->bck_fc;
prev_fc = fwd ? &c->bck_fc : &c->fwd_fc;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38242 - gnunet/src/cadet,
gnunet <=