diff options
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r-- | src/transport/gnunet-service-tng.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c index b2fa92ecc..ed4be7e88 100644 --- a/src/transport/gnunet-service-tng.c +++ b/src/transport/gnunet-service-tng.c | |||
@@ -9124,7 +9124,9 @@ handle_flow_control (void *cls, const struct TransportFlowControlMessage *fc) | |||
9124 | wnd = GNUNET_ntohll (fc->outbound_window_size); | 9124 | wnd = GNUNET_ntohll (fc->outbound_window_size); |
9125 | random = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, | 9125 | random = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, |
9126 | UINT32_MAX); | 9126 | UINT32_MAX); |
9127 | if ((GNUNET_YES == vl->confirmed) && ((wnd < vl->incoming_fc_window_size) || | 9127 | if ((GNUNET_YES == vl->confirmed) && ((wnd < vl->incoming_fc_window_size |
9128 | + vl->incoming_fc_window_size_used | ||
9129 | + vl->incoming_fc_window_size_loss) || | ||
9128 | (vl->last_outbound_window_size_received | 9130 | (vl->last_outbound_window_size_received |
9129 | != wnd) || | 9131 | != wnd) || |
9130 | (0 == random | 9132 | (0 == random |