diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-18 19:35:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-18 19:35:14 +0000 |
commit | 6ef954d076ce02e91eac5e898ca867e59e8c9e15 (patch) | |
tree | 3fbff9e6840ac37104750044a363cac34067a218 /src/transport/plugin_transport_udp.c | |
parent | 2a5b881571e0ec43a568d2dc870674670912d88d (diff) | |
download | gnunet-6ef954d076ce02e91eac5e898ca867e59e8c9e15.tar.gz gnunet-6ef954d076ce02e91eac5e898ca867e59e8c9e15.zip |
-log ACK delay vs. last frag transmit
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 814064e48..0bcfcb46b 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -1694,16 +1694,18 @@ fragmented_message_done (struct UDP_FragmentationContext *frag_ctx, | |||
1694 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) | 1694 | if (delay.rel_value_us > GNUNET_CONSTANTS_LATENCY_WARN.rel_value_us) |
1695 | { | 1695 | { |
1696 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1696 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1697 | "Fragmented message acknowledged after %s\n", | 1697 | "Fragmented message acknowledged after %s (expected at %s)\n", |
1698 | GNUNET_STRINGS_relative_time_to_string (delay, | 1698 | GNUNET_STRINGS_relative_time_to_string (delay, |
1699 | GNUNET_YES)); | 1699 | GNUNET_YES), |
1700 | GNUNET_STRINGS_absolute_time_to_string (frag_ctx->next_frag_time)); | ||
1700 | } | 1701 | } |
1701 | else | 1702 | else |
1702 | { | 1703 | { |
1703 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1704 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1704 | "Fragmented message acknowledged after %s\n", | 1705 | "Fragmented message acknowledged after %s (expected at %s)\n", |
1705 | GNUNET_STRINGS_relative_time_to_string (delay, | 1706 | GNUNET_STRINGS_relative_time_to_string (delay, |
1706 | GNUNET_YES)); | 1707 | GNUNET_YES), |
1708 | GNUNET_STRINGS_absolute_time_to_string (frag_ctx->next_frag_time)); | ||
1707 | } | 1709 | } |
1708 | 1710 | ||
1709 | if (NULL != frag_ctx->cont) | 1711 | if (NULL != frag_ctx->cont) |