[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.
- [gnunet] 03/39: http3: write to connection and send packet, (continued)
- [gnunet] 03/39: http3: write to connection and send packet, gnunet, 2024/08/25
- [gnunet] 12/39: http3: add stream shutdown after send my_identity, gnunet, 2024/08/25
- [gnunet] 05/39: http3: use one cred, and initialized it, gnunet, 2024/08/25
- [gnunet] 02/39: http3: Complete the run and mq_init functions, gnunet, 2024/08/25
- [gnunet] 07/39: http3: receive stream data, gnunet, 2024/08/25
- [gnunet] 16/39: http3: Prepare work for the cid_map, gnunet, 2024/08/25
- [gnunet] 06/39: http3: handle mq, gnunet, 2024/08/25
- [gnunet] 08/39: http3: do shutdown, gnunet, 2024/08/25
- [gnunet] 14/39: http3: rename COMMUNICATOR_ADDRESS_PREFIX, gnunet, 2024/08/25
- [gnunet] 19/39: http3: Add the functions to handle disconnection, gnunet, 2024/08/25
- [gnunet] 15/39: http3: Correct the value of statistics value # connections active,
gnunet <=
- [gnunet] 09/39: http3: add http3 test, gnunet, 2024/08/25
- [gnunet] 10/39: http3: fix the log of ngtcp2_conn_writev_stream, gnunet, 2024/08/25
- [gnunet] 13/39: http3: extend flow control window, now can pass basic test., gnunet, 2024/08/25
- [gnunet] 22/39: http3: Complete the callbacks of nghttp3 and ngtcp2, gnunet, 2024/08/25
- [gnunet] 25/39: http3: make meson compie; remove application handle, gnunet, 2024/08/25
- [gnunet] 20/39: http3: Handle errors and refactor the code for receiving packets, gnunet, 2024/08/25
- [gnunet] 26/39: http3: better http3 detection logic, gnunet, 2024/08/25
- [gnunet] 21/39: http3: Remove some unused code, gnunet, 2024/08/25
- [gnunet] 17/39: http3: Update TODOs, gnunet, 2024/08/25
- [gnunet] 11/39: http3: use multiple streams, gnunet, 2024/08/25