GNUNET_MQ_get_length (tc->mq),
MAX_PENDING);
GNUNET_STATISTICS_update (GST_stats,
- gettext_noop
- ("# messages dropped due to slow client"), 1,
+ gettext_noop ("# messages dropped due to slow client"),
+ 1,
GNUNET_NO);
return;
}
NULL != tc;
tc = tc->next)
{
+ if (CT_NONE == tc->type)
+ continue; /* client not yet ready */
if ( (GNUNET_YES == may_drop) &&
(CT_CORE != tc->type) )
continue; /* skip, this client does not care about payload */
{
struct GNUNET_MQ_Envelope *env;
struct PeerIterateResponseMessage *msg;
-
+
msg = compose_address_iterate_response_message (peer,
address);
msg->state = htonl (state);
{
struct GNUNET_TRANSPORT_CoreHandle *h = cls;
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Error receiving from transport service, disconnecting temporarily.\n");
+ LOG (GNUNET_ERROR_TYPE_ERROR,
+ "Error receiving from transport service (%d), disconnecting temporarily.\n",
+ error);
disconnect_and_schedule_reconnect (h);
}