[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 03/09: Fixed bug in logic getting root parent of fragment which
From: |
gnunet |
Subject: |
[gnunet] 03/09: Fixed bug in logic getting root parent of fragment which is a DV box. |
Date: |
Wed, 10 Jan 2024 12:00:00 +0100 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
commit b9cd040cbe471672984a607ddbbf91752d1a62a2
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Jan 10 11:30:38 2024 +0100
Fixed bug in logic getting root parent of fragment which is a DV box.
---
src/service/transport/gnunet-service-transport.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/service/transport/gnunet-service-transport.c
b/src/service/transport/gnunet-service-transport.c
index f48455868..1522a5f21 100644
--- a/src/service/transport/gnunet-service-transport.c
+++ b/src/service/transport/gnunet-service-transport.c
@@ -3093,7 +3093,7 @@ free_pending_message (struct PendingMessage *pm)
{
struct PendingMessage *root = pm->frag_parent;
- while (NULL != root->frag_parent)
+ while (NULL != root->frag_parent && PMT_DV_BOX != root->pmt)
root = root->frag_parent;
root->frag_count--;
@@ -9809,7 +9809,7 @@ update_pm_next_attempt (struct PendingMessage *pm,
{
struct PendingMessage *root = pm->frag_parent;
- while (NULL != root->frag_parent)
+ while (NULL != root->frag_parent && PMT_DV_BOX != root->pmt)
root = root->frag_parent;
if (GNUNET_NO == root->frags_in_flight)
@@ -10345,7 +10345,7 @@ transmit_on_queue (void *cls)
struct PendingMessage *root;
root = pm->frag_parent;
- while (NULL != root->frag_parent)
+ while (NULL != root->frag_parent && PMT_DV_BOX != root->pmt)
root = root->frag_parent;
wait_multiplier = (unsigned int) ceil ((double) root->bytes_msg
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (577ad2f7d -> 29213833f), gnunet, 2024/01/10
- [gnunet] 04/09: Resuming communicators in case of core restarting., gnunet, 2024/01/10
- [gnunet] 01/09: Changed creation of key for kx to be for every notification of transport about a new connected peer., gnunet, 2024/01/10
- [gnunet] 02/09: Added missing GNUNET_TRANSPORT_core_receive_continue., gnunet, 2024/01/10
- [gnunet] 03/09: Fixed bug in logic getting root parent of fragment which is a DV box.,
gnunet <=
- [gnunet] 06/09: Fixed bug calculating next resend of fragments., gnunet, 2024/01/10
- [gnunet] 07/09: first_challenge_use has to be reset in case of revalidation., gnunet, 2024/01/10
- [gnunet] 08/09: When to resend a validation challenge and when to start revalidation needs to be seperate logic., gnunet, 2024/01/10
- [gnunet] 09/09: Merge branch 'master' of ssh://git.gnunet.org/gnunet, gnunet, 2024/01/10
- [gnunet] 05/09: Fixed bug in logic freeing timedout QueueEntry., gnunet, 2024/01/10