From: Christian Grothoff Date: Fri, 27 Jan 2017 21:15:26 +0000 (+0100) Subject: if in-order unreliable, advance to next message even if we skip a mid X-Git-Tag: taler-0.2.1~269 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b9ea024cbe97dc152624a9c18717246cda49c25f;p=oweals%2Fgnunet.git if in-order unreliable, advance to next message even if we skip a mid --- 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",