Fix receiving files when duplicate packets == 0

Acks weren't sent at all in case duplicate packets were configured to be zero.
This commit is contained in:
Ville Heikkinen 2023-10-26 16:21:42 +03:00 committed by Altuğ Bakan
parent 6d5d56052d
commit 1f373a5928

View file

@ -221,7 +221,7 @@ impl Server {
worker_options.block_size, worker_options.block_size,
worker_options.timeout, worker_options.timeout,
worker_options.window_size, worker_options.window_size,
self.duplicate_packets, self.duplicate_packets + 1,
); );
worker.receive() worker.receive()
}; };