summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown2008-07-30 21:22:49 +0200
committerMichael Brown2008-07-30 21:22:49 +0200
commit8f4c2b4a4c5c3a3d29a102a758e75b65cadf9946 (patch)
tree12303def603513d7ae85163a93c9988397845918 /src/util
parent[romprefix] Update PCI ROM structure to PCI 3.0 (diff)
downloadipxe-8f4c2b4a4c5c3a3d29a102a758e75b65cadf9946.tar.gz
ipxe-8f4c2b4a4c5c3a3d29a102a758e75b65cadf9946.tar.xz
ipxe-8f4c2b4a4c5c3a3d29a102a758e75b65cadf9946.zip
[ftp] Cope with RETR completion prior to all data received
Based on a patch contributed by Sergey Vlasov <vsu@altlinux.ru> : In my testing with "qemu -net user" the 226 response to RETR was often received earlier than final packets of the data connection; this caused the received file to become truncated without any error indication. Fix this by adding an intermediate state FTP_TRANSFER between FTP_RETR and FTP_QUIT, so that the transfer is considered to be complete only when both the end of data connection is encountered and the final reply to the RETR command is received.
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions