[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: Count number of unrequested
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: Count number of unrequested pull replies with statistics |
Date: |
Fri, 24 Aug 2018 08:00:26 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 19762ee38 Count number of unrequested pull replies with statistics
19762ee38 is described below
commit 19762ee38c596516abb811c727d80196679b79e0
Author: Julius Bünger <address@hidden>
AuthorDate: Fri Aug 24 07:58:47 2018 +0200
Count number of unrequested pull replies with statistics
---
src/rps/gnunet-service-rps.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 7802b183b..5d0e60508 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -2361,6 +2361,7 @@ send_pull_reply (const struct GNUNET_PeerIdentity
*peer_id,
// TODO check with send intention: as send_channel is used/opened we indicate
// a sending intention without intending it.
// -> clean peer afterwards?
+ // -> use recv_channel?
}
@@ -3118,6 +3119,10 @@ check_peer_pull_reply (void *cls,
LOG (GNUNET_ERROR_TYPE_WARNING,
"Received a pull reply from a peer (%s) we didn't request one from!\n",
GNUNET_i2s (sender));
+ GNUNET_STATISTICS_update (stats,
+ "# unrequested pull replies",
+ 1,
+ GNUNET_NO);
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: Count number of unrequested pull replies with statistics,
gnunet <=