[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27422 - gnunet/src/ats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27422 - gnunet/src/ats |
Date: |
Wed, 12 Jun 2013 12:41:20 +0200 |
Author: grothoff
Date: 2013-06-12 12:41:19 +0200 (Wed, 12 Jun 2013)
New Revision: 27422
Modified:
gnunet/src/ats/gnunet-service-ats_performance.c
Log:
-keep and drop are not needed here as we watch for disconnects
Modified: gnunet/src/ats/gnunet-service-ats_performance.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_performance.c 2013-06-12 10:39:48 UTC
(rev 27421)
+++ gnunet/src/ats/gnunet-service-ats_performance.c 2013-06-12 10:41:19 UTC
(rev 27422)
@@ -124,11 +124,11 @@
GAS_performance_remove_client (struct GNUNET_SERVER_Client *client)
{
struct PerformanceClient *pc;
+
pc = find_client (client);
if (NULL == pc)
return;
GNUNET_CONTAINER_DLL_remove (pc_head, pc_tail, pc);
- GNUNET_SERVER_client_drop (client);
GNUNET_free (pc);
}
@@ -313,13 +313,13 @@
pc->client = client;
pc->flag = flag;
GNUNET_SERVER_notification_context_add (nc, client);
- GNUNET_SERVER_client_keep (client);
GNUNET_CONTAINER_DLL_insert (pc_head, pc_tail, pc);
/* Send information about clients */
GAS_addresses_iterate_peers (GSA_addresses, &peer_it, pc);
}
+
static void transmit_req_addr (struct AddressIteration *ai,
const struct GNUNET_PeerIdentity *id,
const char *plugin_name,
@@ -332,7 +332,6 @@
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in)
{
-
struct GNUNET_ATS_Information *atsp;
struct PeerInformationMessage *msg;
char *addrp;
@@ -454,6 +453,7 @@
}
}
+
/**
* Handle 'address list request' messages from clients.
*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27422 - gnunet/src/ats,
gnunet <=