[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35318 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35318 - gnunet/src/transport |
Date: |
Sat, 28 Feb 2015 17:27:05 +0100 |
Author: grothoff
Date: 2015-02-28 17:27:05 +0100 (Sat, 28 Feb 2015)
New Revision: 35318
Modified:
gnunet/src/transport/plugin_transport_tcp.c
Log:
-count total TCP handshakes
Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2015-02-28 16:22:36 UTC (rev
35317)
+++ gnunet/src/transport/plugin_transport_tcp.c 2015-02-28 16:27:05 UTC (rev
35318)
@@ -2533,9 +2533,13 @@
plugin->cur_connections++;
GNUNET_STATISTICS_set (plugin->env->stats,
- gettext_noop ("# TCP server connections"),
+ gettext_noop ("# TCP server connections active"),
plugin->cur_connections,
GNUNET_NO);
+ GNUNET_STATISTICS_update (plugin->env->stats,
+ gettext_noop ("# TCP server connect events"),
+ 1,
+ GNUNET_NO);
if (plugin->cur_connections != plugin->max_connections)
return;
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -2586,7 +2590,7 @@
GNUNET_assert (plugin->cur_connections >= 1);
plugin->cur_connections--;
GNUNET_STATISTICS_set (plugin->env->stats,
- gettext_noop ("# TCP server connections"),
+ gettext_noop ("# TCP server connections active"),
plugin->cur_connections,
GNUNET_NO);
GNUNET_STATISTICS_update (session->plugin->env->stats,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35318 - gnunet/src/transport,
gnunet <=