Fixup chunk offset movement on resend 17/83317/7
authorTomas Cere <tomas.cere@pantheon.tech>
Tue, 30 Jul 2019 09:48:06 +0000 (11:48 +0200)
committerRobert Varga <nite@hq.sk>
Sat, 7 Sep 2019 06:50:26 +0000 (06:50 +0000)
Since we are moving the offset backwards on failures, it doesnt
matter whether we have seen a failure or success when incrementing
offset. We always need to move it to indicate a chunk is in flight,
otherwise canSendNextChunk() will allow us to send the same chunk
again and again even when it is already inflight.

Change-Id: If5dfd1913bda4328c5dfab0869f2df697bbd3cfc
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>

No differences found