[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29291 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29291 - gnunet/src/transport |
Date: |
Mon, 16 Sep 2013 10:15:10 +0200 |
Author: wachs
Date: 2013-09-16 10:15:10 +0200 (Mon, 16 Sep 2013)
New Revision: 29291
Modified:
gnunet/src/transport/gnunet-service-transport.c
gnunet/src/transport/gnunet-service-transport_neighbours.c
Log:
clarified docu and log level for ATS disconnect notifications
Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c 2013-09-16 07:49:27 UTC
(rev 29290)
+++ gnunet/src/transport/gnunet-service-transport.c 2013-09-16 08:15:10 UTC
(rev 29291)
@@ -595,8 +595,10 @@
* @param cls closure
* @param address address to use (for peer given in address)
* @param session session to use (if available)
- * @param bandwidth_out assigned outbound bandwidth for the connection, 0 to
disconnect from peer
- * @param bandwidth_in assigned inbound bandwidth for the connection, 0 to
disconnect from peer
+ * @param bandwidth_out assigned outbound bandwidth for the connection in NBO,
+ * 0 to disconnect from peer
+ * @param bandwidth_in assigned inbound bandwidth for the connection in NBO,
+ * 0 to disconnect from peer
* @param ats ATS information
* @param ats_count number of ATS elements
*/
@@ -615,7 +617,7 @@
/* ATS tells me to disconnect from peer */
if ((bw_in == 0) && (bw_out == 0))
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"ATS tells me to disconnect from peer `%s'\n",
GNUNET_i2s (&address->peer));
GST_neighbours_force_disconnect (&address->peer);
Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c 2013-09-16
07:49:27 UTC (rev 29290)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c 2013-09-16
08:15:10 UTC (rev 29291)
@@ -2294,8 +2294,10 @@
* @param session session to use (or NULL)
* @param ats performance data
* @param ats_count number of entries in ats
- * @param bandwidth_in inbound quota to be used when connection is up
- * @param bandwidth_out outbound quota to be used when connection is up
+ * @param bandwidth_in inbound quota to be used when connection is up,
+ * 0 to disconnect from peer
+ * @param bandwidth_out outbound quota to be used when connection is up,
+ * 0 to disconnect from peer
*/
void
GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29291 - gnunet/src/transport,
gnunet <=