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:
ce4e261
)
- calculate the correct amount of messages to allow per connection
author
Bart Polot
<bart@net.in.tum.de>
Mon, 15 Dec 2014 07:18:06 +0000
(07:18 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 15 Dec 2014 07:18:06 +0000
(07:18 +0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index dbacd59f0be4c6d63ace1a6bbac877f3abf62a8b..2eacb17b6f60dea74c0b64d50e719b050a5852c7 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-3008,12
+3008,10
@@
GCT_send_connection_acks (struct CadetTunnel *t)
/* Make sure there is no overflow */
if (allowed > buffer)
- {
return;
- }
/* Authorize connections to send more data */
- to_allow = buffer
; /* FIXME (- allowed;) */
+ to_allow = buffer
- allowed;
for (iter = t->connection_head;
NULL != iter && to_allow > 0;