FTPManager bugfix: Continue when EOF Nak is out of sequence (#10418)
Without the patch the FTPManager is stuck when an EOF NAK is
received out of sequence in a burst transmission, e.g.
when the previous data packet is lost. With the EOF the
server will stop further transmissions but the client is
not waiting on anything.
Now the burst is restarted at the last received offset.
Closes: #10418
QGC4.4
Friedrich Beckmann3 years agocommitted byBeat Küng
qCDebug(FTPManagerLog)<<"_burstReadFileAckOrNak: Disregarding Nak due to incorrect sequence actual:expected"<<ackOrNak->hdr.seqNumber<<_expectedIncomingSeqNumber;