]> git.ipfire.org Git - thirdparty/squid.git/commit
FTP will no longer send REST command if offset exceeds size.
authorwessels <>
Sat, 5 May 2007 06:14:17 +0000 (06:14 +0000)
committerwessels <>
Sat, 5 May 2007 06:14:17 +0000 (06:14 +0000)
commitb0e52cb92a79010f084a8487e0cbaf6b7a4bf4ca
tree64eae5e4b2cbd08ec437e21cb95126e4c90094cd
parent690b22c63e7955fd3ff00ca8afd2950c2f35b790
FTP will no longer send REST command if offset exceeds size.

Added a check to FtpState::restartable to detect when the desired
restart offset is greater than (or equal to) the size reported by
the server.  If the server didn't report a size, then we won't
send/set the restart offset either.
src/ftp.cc