[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38243 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38243 - gnunet/src/cadet |
Date: |
Fri, 4 Nov 2016 10:47:21 +0100 |
Author: bartpolot
Date: 2016-11-04 10:47:21 +0100 (Fri, 04 Nov 2016)
New Revision: 38243
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- fix logging
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-11-04 09:47:19 UTC
(rev 38242)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-11-04 09:47:21 UTC
(rev 38243)
@@ -566,7 +566,7 @@
next_fc = fwd ? &c->fwd_fc : &c->bck_fc;
prev_fc = fwd ? &c->bck_fc : &c->fwd_fc;
- LOG (GNUNET_ERROR_TYPE_DEBUG, "connection send %s ack on %s\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "send %s ack on %s\n",
GC_f2s (fwd), GCC_2s (c));
/* Check if we need to transmit the ACK. */
@@ -573,7 +573,7 @@
delta = prev_fc->last_ack_sent - prev_fc->last_pid_recv;
if (3 < delta && buffer < delta && GNUNET_NO == force)
{
- LOG (GNUNET_ERROR_TYPE_DEBUG, "Not sending ACK, buffer > 3\n");
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "Not sending ACK, delta > 3\n");
LOG (GNUNET_ERROR_TYPE_DEBUG,
" last pid recv: %u, last ack sent: %u\n",
prev_fc->last_pid_recv, prev_fc->last_ack_sent);
@@ -583,10 +583,9 @@
/* Ok, ACK might be necessary, what PID to ACK? */
ack = prev_fc->last_pid_recv + buffer;
- LOG (GNUNET_ERROR_TYPE_DEBUG, " ACK %u\n", ack);
LOG (GNUNET_ERROR_TYPE_DEBUG,
- " last pid %u, last ack %u, qmax %u, q %u\n",
- prev_fc->last_pid_recv, prev_fc->last_ack_sent,
+ " ACK %u, last PID %u, last ACK %u, qmax %u, q %u\n",
+ ack, prev_fc->last_pid_recv, prev_fc->last_ack_sent,
next_fc->queue_max, next_fc->queue_n);
if (ack == prev_fc->last_ack_sent && GNUNET_NO == force)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38243 - gnunet/src/cadet,
gnunet <=