]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r368394:
authorMichael Tuexen <tuexen@FreeBSD.org>
Fri, 18 Dec 2020 10:08:11 +0000 (10:08 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Fri, 18 Dec 2020 10:08:11 +0000 (10:08 +0000)
commitd2f4118a6d49e712c569e3ae3572959985c9f0c4
treed5d5db32228a5edaf5692e452609a6d42eb74739
parentbb4629fa497f2deaa7eb62f84b67262e852a60ff
MFC r368394:
When dropping packets (RRQ or WRQ) for debugging, report the send
operation as successful. Reporting a failure stops the transfer
instead of using timeouts.

MFC r368521:
Fix the TFTP client when performing a RRQ for files smaller than 512 bytes
and the server not sending an OACK:
* Close the file.
* Report the correct the number of received blocks.

MFC r368647:
Improve the counting of blocks used to transfer a file from the
server to the client in case of not using an OACK: Don't miss
the first block in case of it is not also the last one.

MFC r368657:
When receiving a file having a length, which is a mulitple of the blocksize,
close the file once it is received.
libexec/tftpd/tftp-io.c
libexec/tftpd/tftp-transfer.c