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:
parent
6d5d56052d
commit
1f373a5928
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue