by Guest on 2018/04/23 11:30:43 PM
Many uploads still not completing, I’m guessing the requester got the entire file but the program just didn’t acknowledge correctly that the download is finished. So the sender is left hanging at 99% waiting for the receiver to say it received the final packet.
Possibly a double handshake should be implemented so that once the receiver receives the last packet it doesn’t actually complete the download until it sends an all finished response and waits for sender to complete on its end then send ok you are finished. If no response is received by the receiver it tries last packet again and sends finish response again unit it finally completes on both ends.
I believe this method of handshake would eliminate any abandoned downloads that are stuck at 99% that are actually completed.