diff options
author | t3sserakt <t3ss@posteo.de> | 2024-02-06 17:35:32 +0100 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2024-02-06 17:35:32 +0100 |
commit | 4402b568ac1da29cdf15382f0bc670f9ffcac4a9 (patch) | |
tree | 94dcc07abc27c93590a47c53fbf8c4e5bec530f4 | |
parent | 1d88d6526683300a28b701e0fad08d08540f27c3 (diff) | |
download | gnunet-4402b568ac1da29cdf15382f0bc670f9ffcac4a9.tar.gz gnunet-4402b568ac1da29cdf15382f0bc670f9ffcac4a9.zip |
Transport: Added logging to debug freeing of fragments.
-rw-r--r-- | src/service/transport/gnunet-service-transport.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/service/transport/gnunet-service-transport.c b/src/service/transport/gnunet-service-transport.c index 32ce50b52..2d892a3d9 100644 --- a/src/service/transport/gnunet-service-transport.c +++ b/src/service/transport/gnunet-service-transport.c | |||
@@ -6643,6 +6643,12 @@ completed_pending_message (struct PendingMessage *pm) | |||
6643 | pos = pm->frag_parent; | 6643 | pos = pm->frag_parent; |
6644 | GNUNET_CONTAINER_MDLL_remove (frag, pos->head_frag, pos->tail_frag, pm); | 6644 | GNUNET_CONTAINER_MDLL_remove (frag, pos->head_frag, pos->tail_frag, pm); |
6645 | free_pending_message (pm); | 6645 | free_pending_message (pm); |
6646 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
6647 | "pos frag_off %lu pos bytes_msg %lu pmt %u parent %u\n", | ||
6648 | pos->frag_off, | ||
6649 | pos->bytes_msg, | ||
6650 | pos->pmt, | ||
6651 | NULL == pos->frag_parent ? 1 : 0); | ||
6646 | /* check if subtree is done */ | 6652 | /* check if subtree is done */ |
6647 | while ((NULL == pos->head_frag) && (pos->frag_off == (pos->bytes_msg | 6653 | while ((NULL == pos->head_frag) && (pos->frag_off == (pos->bytes_msg |
6648 | - sizeof(struct | 6654 | - sizeof(struct |