diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-27 22:15:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-27 22:15:26 +0100 |
commit | b9ea024cbe97dc152624a9c18717246cda49c25f (patch) | |
tree | 943a532366a88a389e5e915184e8205cb5001540 /src/cadet/gnunet-service-cadet-new_channel.c | |
parent | 212addcc5d177059cd11183034dcd5cf26a413ee (diff) | |
download | gnunet-b9ea024cbe97dc152624a9c18717246cda49c25f.tar.gz gnunet-b9ea024cbe97dc152624a9c18717246cda49c25f.zip |
if in-order unreliable, advance to next message even if we skip a mid
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
1775 | } | 1775 | } |
1776 | 1776 | ||
1777 | if ( (com->mid.mid != ch->mid_recv.mid) && | 1777 | if ( (com->mid.mid != ch->mid_recv.mid) && |
1778 | (GNUNET_NO == ch->out_of_order) ) | 1778 | (GNUNET_NO == ch->out_of_order) && |
1779 | (GNUNET_YES == ch->reliable) ) | ||
1779 | { | 1780 | { |
1780 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1781 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1781 | "Got LOCAL_ACK, %s-%X ready to receive more data (but next one is out-of-order %u vs. %u)!\n", | 1782 | "Got LOCAL_ACK, %s-%X ready to receive more data (but next one is out-of-order %u vs. %u)!\n", |