diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-01-30 07:26:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-01-30 07:26:53 +0100 |
commit | 5d021c879a1c83ba222d09f1e0dc2a0a081bc799 (patch) | |
tree | 4b06f3996a97a497f52445880a55d0bebaeedad1 /src/transport/gnunet-communicator-tcp.c | |
parent | 30e251fac34c48bafe5862f26a7dcfad4c6a39f8 (diff) | |
download | gnunet-5d021c879a1c83ba222d09f1e0dc2a0a081bc799.tar.gz gnunet-5d021c879a1c83ba222d09f1e0dc2a0a081bc799.zip |
implement MTU calculation and adjustments
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r-- | src/transport/gnunet-communicator-tcp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index d86fa03b6..1d10b82e5 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c | |||
@@ -590,6 +590,11 @@ queue_destroy (struct Queue *queue) | |||
590 | queue->mq = NULL; | 590 | queue->mq = NULL; |
591 | GNUNET_MQ_destroy (mq); | 591 | GNUNET_MQ_destroy (mq); |
592 | } | 592 | } |
593 | if (NULL != queue->qh) | ||
594 | { | ||
595 | GNUNET_TRANSPORT_communicator_mq_del (queue->qh); | ||
596 | queue->qh = NULL; | ||
597 | } | ||
593 | GNUNET_assert (GNUNET_YES == | 598 | GNUNET_assert (GNUNET_YES == |
594 | GNUNET_CONTAINER_multipeermap_remove (queue_map, | 599 | GNUNET_CONTAINER_multipeermap_remove (queue_map, |
595 | &queue->target, | 600 | &queue->target, |