[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8678 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8678 - gnunet/src/transport |
Date: |
Sun, 12 Jul 2009 16:30:46 -0600 |
Author: grothoff
Date: 2009-07-12 16:30:46 -0600 (Sun, 12 Jul 2009)
New Revision: 8678
Modified:
gnunet/src/transport/gnunet-service-transport.c
gnunet/src/transport/test_transport_api_peer1.conf
gnunet/src/transport/test_transport_api_peer2.conf
Log:
fixes
Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c 2009-07-12 22:30:01 UTC
(rev 8677)
+++ gnunet/src/transport/gnunet-service-transport.c 2009-07-12 22:30:46 UTC
(rev 8678)
@@ -1410,6 +1410,7 @@
struct GNUNET_TIME_Absolute now;
struct GNUNET_HELLO_Message *hello;
struct GNUNET_PeerIdentity pid;
+ struct NeighbourList *n;
#if DEBUG_TRANSPORT
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK,
@@ -1439,6 +1440,9 @@
"HELLO", GNUNET_i2s (&pid));
#endif
GNUNET_PEERINFO_add_peer (cfg, sched, &pid, hello);
+ n = find_neighbour (&pid);
+ if (NULL != n)
+ try_transmission_to_peer (n);
GNUNET_free (hello);
while (NULL != (va = pos->addresses))
{
@@ -1519,7 +1523,8 @@
/* TODO: call statistics (unmatched PONG) */
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_
- ("Received validation response but have no record of a
matching validation request. Ignoring.\n"));
+ ("Received validation response but have no record of any
validation request for `%4s'. Ignoring.\n"),
+ GNUNET_i2s(peer));
return;
}
all_done = GNUNET_YES;
Modified: gnunet/src/transport/test_transport_api_peer1.conf
===================================================================
--- gnunet/src/transport/test_transport_api_peer1.conf 2009-07-12 22:30:01 UTC
(rev 8677)
+++ gnunet/src/transport/test_transport_api_peer1.conf 2009-07-12 22:30:46 UTC
(rev 8678)
@@ -8,6 +8,7 @@
[transport]
PORT = 12365
PLUGINS = tcp
+# DEBUG = YES
[arm]
PORT = 12366
Modified: gnunet/src/transport/test_transport_api_peer2.conf
===================================================================
--- gnunet/src/transport/test_transport_api_peer2.conf 2009-07-12 22:30:01 UTC
(rev 8677)
+++ gnunet/src/transport/test_transport_api_peer2.conf 2009-07-12 22:30:46 UTC
(rev 8678)
@@ -8,6 +8,7 @@
[transport]
PORT = 22365
PLUGINS = tcp
+# DEBUG = YES
[arm]
PORT = 22366
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8678 - gnunet/src/transport,
gnunet <=