From b9ea024cbe97dc152624a9c18717246cda49c25f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Jan 2017 22:15:26 +0100 Subject: [PATCH] if in-order unreliable, advance to next message even if we skip a mid --- src/cadet/gnunet-service-cadet-new_channel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index 3bcf5ad0b..ebc566c83 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -1775,7 +1775,8 @@ GCCH_handle_local_ack (struct CadetChannel *ch, } if ( (com->mid.mid != ch->mid_recv.mid) && - (GNUNET_NO == ch->out_of_order) ) + (GNUNET_NO == ch->out_of_order) && + (GNUNET_YES == ch->reliable) ) { LOG (GNUNET_ERROR_TYPE_DEBUG, "Got LOCAL_ACK, %s-%X ready to receive more data (but next one is out-of-order %u vs. %u)!\n", -- 2.25.1