msg->ccn);
if (NULL == ch)
{
- /* Channel does not exist! */
- GNUNET_break (0);
- GNUNET_SERVICE_client_drop (c->client);
+ /* Channel does not exist (anymore) */
+ LOG (GNUNET_ERROR_TYPE_WARNING,
+ "Dropping payload for channel %u from client (channel unknown, other endpoint may have disconnected)\n",
+ (unsigned int) ntohl (msg->ccn.channel_of_client));
+ GNUNET_SERVICE_client_continue (c->client);
return;
}
payload_size = ntohs (msg->header.size) - sizeof (*msg);
return;
}
ccc = (NULL != ch->owner) ? ch->owner : ch->dest;
- if (NULL != ccc->head_recv)
+ if ( (NULL != ccc) &&
+ (NULL != ccc->head_recv) )
{
LOG (GNUNET_ERROR_TYPE_WARNING,
"Lost end of transmission due to remote shutdown on %s\n",
/* FIXME: change API to notify client about truncated transmission! */
}
ch->destroy = GNUNET_YES;
- GSC_handle_remote_channel_destroy (ccc->c,
- ccc->ccn,
- ch);
+ if (NULL != ccc)
+ GSC_handle_remote_channel_destroy (ccc->c,
+ ccc->ccn,
+ ch);
channel_destroy (ch);
}
RESOURCE_DIAGNOSTICS = resource.log.${PEERID:-master}
[core]
-FORECESTART = YES
+FORCESTART = YES
[revocation]
-FORECESTART = NO
+FORCESTART = NO
[fs]
-FORECESTART = NO
+FORCESTART = NO
[gns]
-FORECESTART = NO
+FORCESTART = NO
+
+[zonemaster]
+FORCESTART = NO
[hostlist]
-FORECESTART = NO
+FORCESTART = NO
[cadet]
#PREFIX = valgrind
GNUNET_YES);
if (GNUNET_SYSERR == ret)
{
- GNUNET_break (0);
- GNUNET_SERVICE_client_drop (c);
+ if (NULL != c->drop_task)
+ GNUNET_SERVICE_client_drop (c);
return;
}
if (GNUNET_NO == ret)