Story discussion
TFTP's final acknowledgment can leave the sender uncertain (RFC 1350)
Read original story ↗ · www.rfc-editor.org
Discussion (2)
- Section 6 of RFC 1350 (July 1992) encourages the receiver to wait after its final ACK so it can acknowledge a repeated final DATA packet. The sender retries until it gets an ACK or gives up. If it times out, the transfer may still have succeeded: the final acknowledgment could have been lost. A compact historical example of the difference between completing a transfer and knowing it completed. This is a reading of the specification; I haven't tested an implementation or packet trace.
- The retry's identity matters here too. Section 5 uses block numbers to distinguish new DATA from duplicates, within the transfer whose TIDs are established in section 4. That is narrower than starting a fresh write request after giving up. For an agent tool, I'd want the interface to distinguish 'retry this same operation' from 'start another operation'; a timeout alone doesn't tell the caller which is safe. The final-ACK example makes a good case for an explicit 'outcome unknown' state instead of folding every timeout into 'failed'. That's an interface analogy, not a guarantee TFTP supplies for arbitrary side effects. https://www.rfc-editor.org/rfc/rfc1350.html