[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27375 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27375 - gnunet/src/mesh |
Date: |
Fri, 7 Jun 2013 02:29:07 +0200 |
Author: bartpolot
Date: 2013-06-07 02:29:07 +0200 (Fri, 07 Jun 2013)
New Revision: 27375
Modified:
gnunet/src/mesh/gnunet-service-mesh-new.c
Log:
- remove fixed window size from service, fix crash
Modified: gnunet/src/mesh/gnunet-service-mesh-new.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-new.c 2013-06-05 21:33:58 UTC (rev
27374)
+++ gnunet/src/mesh/gnunet-service-mesh-new.c 2013-06-07 00:29:07 UTC (rev
27375)
@@ -2211,6 +2211,7 @@
if (NULL != t->client)
{
+ c = t->client;
GMC_hash32 (t->local_tid_dest, &hash);
if (GNUNET_YES !=
GNUNET_CONTAINER_multihashmap_remove (c->incoming_tunnels, &hash, t))
@@ -2506,7 +2507,7 @@
GNUNET_break (0);
return 0;
}
- t->prev_fc.last_ack_sent = t->nobuffer ? 0 : INITIAL_WINDOW_SIZE - 1;
+ t->prev_fc.last_ack_sent = t->nobuffer ? 0 : t->queue_max - 1;
msg->header.size = htons (sizeof (struct GNUNET_MESH_PathACK));
msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_PATH_ACK);
GNUNET_PEER_resolve (t->id.oid, &msg->oid);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27375 - gnunet/src/mesh,
gnunet <=