[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 10/18: TNG: Fixed bug when checking, if fragment sub tree is do
From: |
gnunet |
Subject: |
[gnunet] 10/18: TNG: Fixed bug when checking, if fragment sub tree is done. |
Date: |
Tue, 02 May 2023 12:53:25 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
commit 2be7b4a59f9164dedf01664abb30e92820900b69
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Thu Apr 27 17:49:57 2023 +0200
TNG: Fixed bug when checking, if fragment sub tree is done.
---
src/transport/gnunet-service-tng.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/transport/gnunet-service-tng.c
b/src/transport/gnunet-service-tng.c
index 29f8998ed..a75292a49 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -6415,7 +6415,10 @@ completed_pending_message (struct PendingMessage *pm)
GNUNET_CONTAINER_MDLL_remove (frag, pos->head_frag, pos->tail_frag, pm);
free_pending_message (pm);
/* check if subtree is done */
- while ((NULL == pos->head_frag) && (pos->frag_off == pos->bytes_msg) &&
+ while ((NULL == pos->head_frag) && (pos->frag_off == (pos->bytes_msg
+ - sizeof(struct
+
TransportFragmentBoxMessage)))
+ &&
(NULL != pos->frag_parent))
{
pm = pos;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (cbc7ea55a -> 1e57b2d86), gnunet, 2023/05/02
- [gnunet] 02/18: TNG: Fixed coverity issues 442812, 442810, 442809, 435689, 435688, 435686, 435685, gnunet, 2023/05/02
- [gnunet] 01/18: TNG: Fixed several bugs in QueueEntry handling and acknowledgment., gnunet, 2023/05/02
- [gnunet] 03/18: TNG: Fixed formating., gnunet, 2023/05/02
- [gnunet] 04/18: TNG: Removed misplaced sending of an acknowlegement in udp communicator., gnunet, 2023/05/02
- [gnunet] 06/18: TNG: Do not update queue performance if PendingMessage was resend., gnunet, 2023/05/02
- [gnunet] 05/18: TNG: Changed test case to except 0.5% packet loss., gnunet, 2023/05/02
- [gnunet] 11/18: TNG: Fixed bug in calculation of delay for PendingAcknowledgement., gnunet, 2023/05/02
- [gnunet] 10/18: TNG: Fixed bug when checking, if fragment sub tree is done.,
gnunet <=
- [gnunet] 12/18: TNG: ValidationState now contains the addres prefix of the address being validated, because we have to check which communicator gave us the validation response., gnunet, 2023/05/02
- [gnunet] 15/18: TNG: Fixed bug that additional queues for the same communicator inherit the validity period., gnunet, 2023/05/02
- [gnunet] 09/18: TNG: GNUNET_SERVICE_client_continue was misplaced blocking the service., gnunet, 2023/05/02
- [gnunet] 07/18: TNG: Introduced frags_in_flight flag. With this flag we check if fragments of a PendingMessage are being send right now, to not resend single fragments, but the PendingMessage at once., gnunet, 2023/05/02
- [gnunet] 13/18: TNG: Handling flow control takes used window size into account, together with data loss., gnunet, 2023/05/02
- [gnunet] 14/18: TNG: Fixed bug in calculation of subtree fragment message size., gnunet, 2023/05/02
- [gnunet] 16/18: TNG: Fixed misplaced increase of queue length., gnunet, 2023/05/02
- [gnunet] 17/18: TNG: Fixed logic bug in search for QueueEntry after receiving SendMessageToAck., gnunet, 2023/05/02
- [gnunet] 18/18: TNG: Change config of performance test case to used TCP and UDP together., gnunet, 2023/05/02
- [gnunet] 08/18: TNG: The time to wait for resending a PendingMessage - which was fragmented - is calculated, depending on the number of fragments present, and how much of the PendingMessage was already fragmented., gnunet, 2023/05/02