projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d38f7b3
)
- fix nobuffer behavior
author
Bart Polot
<bart@net.in.tum.de>
Fri, 28 Jun 2013 11:49:16 +0000
(11:49 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 28 Jun 2013 11:49:16 +0000
(11:49 +0000)
src/mesh/gnunet-service-mesh-new.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh-new.c
b/src/mesh/gnunet-service-mesh-new.c
index 5a259bfbce787ee6aa4bf6389bbad0478c561bfe..7ba9e0e084d975b09c41c0827cd8b4a92d1f09ee 100644
(file)
--- a/
src/mesh/gnunet-service-mesh-new.c
+++ b/
src/mesh/gnunet-service-mesh-new.c
@@
-2082,7
+2082,8
@@
tunnel_send_bck_ack (struct MeshTunnel *t, uint16_t type)
if (t->next_fc.last_ack_sent == ack && GNUNET_NO == t->force_ack)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
if (t->next_fc.last_ack_sent == ack && GNUNET_NO == t->force_ack)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- " Not sending ACK, not needed\n");
+ " Not sending ACK, not needed, last ack sent was %u\n",
+ t->next_fc.last_ack_sent);
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@
-3134,8
+3135,6
@@
handle_mesh_path_create (void *cls, const struct GNUNET_PeerIdentity *peer,
if (0 != (opt & MESH_TUNNEL_OPT_NOBUFFER))
{
t->nobuffer = GNUNET_YES;
if (0 != (opt & MESH_TUNNEL_OPT_NOBUFFER))
{
t->nobuffer = GNUNET_YES;
- t->prev_fc.last_ack_sent = t->prev_fc.last_pid_recv + 1;
- t->next_fc.last_ack_sent = t->next_fc.last_pid_recv + 1;
t->queue_max = 1;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " nobuffer:%d\n", t->nobuffer);
t->queue_max = 1;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " nobuffer:%d\n", t->nobuffer);