gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 15/39: http3: Correct the value of statistics value # connectio


From: gnunet
Subject: [gnunet] 15/39: http3: Correct the value of statistics value # connections active
Date: Sun, 25 Aug 2024 15:16:11 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 8a1d84e0cc73bc8ecae86559529b33f9f00737f0
Author: Shichao <mrrr61@outlook.com>
AuthorDate: Sun Jun 2 19:55:58 2024 +0800

    http3: Correct the value of statistics value # connections active
---
 src/service/transport/gnunet-communicator-http3.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/service/transport/gnunet-communicator-http3.c 
b/src/service/transport/gnunet-communicator-http3.c
index fa98e7876..548e6fa9a 100644
--- a/src/service/transport/gnunet-communicator-http3.c
+++ b/src/service/transport/gnunet-communicator-http3.c
@@ -1379,14 +1379,15 @@ mq_init (void *cls,
   connection->timeout =
     GNUNET_TIME_relative_to_absolute 
(GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT);
   connection->streams = GNUNET_CONTAINER_multihashmap_create (10, GNUNET_NO);
-  GNUNET_STATISTICS_set (stats,
-                         "# connections active",
-                         GNUNET_CONTAINER_multihashmap_size (addr_map),
-                         GNUNET_NO);
   GNUNET_CONTAINER_multihashmap_put (addr_map,
                                      &remote_addr_key,
                                      connection,
                                      
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
+  GNUNET_STATISTICS_set (stats,
+                         "# connections active",
+                         GNUNET_CONTAINER_multihashmap_size (addr_map),
+                         GNUNET_NO);
+
   /* client_gnutls_init */
   rv = client_gnutls_init (connection);
   if (GNUNET_NO != rv)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]