[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17169 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17169 - gnunet/src/mesh |
Date: |
Tue, 4 Oct 2011 15:13:53 +0200 |
Author: bartpolot
Date: 2011-10-04 15:13:53 +0200 (Tue, 04 Oct 2011)
New Revision: 17169
Modified:
gnunet/src/mesh/test_mesh_small.conf
gnunet/src/mesh/test_mesh_small_unicast.c
Log:
Fixed core quota, added logging of error messages at connection setup
Modified: gnunet/src/mesh/test_mesh_small.conf
===================================================================
--- gnunet/src/mesh/test_mesh_small.conf 2011-10-04 11:53:32 UTC (rev
17168)
+++ gnunet/src/mesh/test_mesh_small.conf 2011-10-04 13:13:53 UTC (rev
17169)
@@ -37,6 +37,8 @@
EXTERNAL_ADDRESS = 127.0.0.1
[core]
+TOTAL_QUOTA_IN = 1024000
+TOTAL_QUOTA_OUT = 1024000
AUTOSTART = YES
PORT = 10003
Modified: gnunet/src/mesh/test_mesh_small_unicast.c
===================================================================
--- gnunet/src/mesh/test_mesh_small_unicast.c 2011-10-04 11:53:32 UTC (rev
17168)
+++ gnunet/src/mesh/test_mesh_small_unicast.c 2011-10-04 13:13:53 UTC (rev
17169)
@@ -402,13 +402,14 @@
struct GNUNET_TESTING_Daemon *first_daemon,
struct GNUNET_TESTING_Daemon *second_daemon, const char *emsg)
{
- GNUNET_PEER_Id f;
- GNUNET_PEER_Id s;
+// GNUNET_PEER_Id f;
+// GNUNET_PEER_Id s;
if (emsg == NULL)
+ {
total_connections++;
- f = GNUNET_PEER_intern(first);
- s = GNUNET_PEER_intern(second);
+ /*f = */GNUNET_PEER_intern(first);
+ /*s = */GNUNET_PEER_intern(second);
// GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: New connection!\n");
// GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
// "test: %s (%u)\n",
@@ -418,6 +419,14 @@
// "test: %s (%u)\n",
// GNUNET_h2s(&second->hashPubKey),
// s);
+ }
+ else
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "test: Problem with new connection (%s)\n",
+ emsg);
+ }
+
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17169 - gnunet/src/mesh,
gnunet <=