diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_communicator_basic.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/transport/test_communicator_basic.c b/src/transport/test_communicator_basic.c index 202bc0a5b..970093b83 100644 --- a/src/transport/test_communicator_basic.c +++ b/src/transport/test_communicator_basic.c | |||
@@ -774,11 +774,18 @@ add_queue_cb (void *cls, | |||
774 | "Queue established, starting test...\n"); | 774 | "Queue established, starting test...\n"); |
775 | // start_short = GNUNET_TIME_absolute_get (); | 775 | // start_short = GNUNET_TIME_absolute_get (); |
776 | // my_tc = tc_h; | 776 | // my_tc = tc_h; |
777 | if (0 != mtu) /* Message header overhead */ | 777 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
778 | "MTU: %llu, Overhead: %llu\n", | ||
779 | mtu, | ||
780 | sizeof(struct GNUNET_TRANSPORT_SendMessageTo) + | ||
781 | sizeof(struct GNUNET_MessageHeader)); | ||
782 | if (UINT32_MAX != mtu) /* Message header overhead */ | ||
778 | long_message_size = mtu - sizeof(struct GNUNET_TRANSPORT_SendMessageTo) | 783 | long_message_size = mtu - sizeof(struct GNUNET_TRANSPORT_SendMessageTo) |
779 | - sizeof(struct GNUNET_MessageHeader); | 784 | - sizeof(struct GNUNET_MessageHeader); |
780 | else | 785 | else |
781 | long_message_size = LONG_MESSAGE_SIZE; | 786 | long_message_size = LONG_MESSAGE_SIZE; |
787 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
788 | "Set message size to %llu\n", long_message_size); | ||
782 | // phase = TP_BURST_SHORT; | 789 | // phase = TP_BURST_SHORT; |
783 | timeout[peer_nr] = GNUNET_TIME_relative_to_absolute ( | 790 | timeout[peer_nr] = GNUNET_TIME_relative_to_absolute ( |
784 | GNUNET_TIME_relative_multiply ( | 791 | GNUNET_TIME_relative_multiply ( |