summaryrefslogtreecommitdiffstats
path: root/bin/cat
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-11 09:31:39 +0000
committerdes <des@FreeBSD.org>2004-02-11 09:31:39 +0000
commit33bdcbd9cfcca378bec7970a1475f108ee4d03e7 (patch)
tree8c839d0ca358216be12b21eb375143bb5e99863e /bin/cat
parentddda756172f48b0014437618f2fa070ef8a0e500 (diff)
downloadFreeBSD-src-33bdcbd9cfcca378bec7970a1475f108ee4d03e7.zip
FreeBSD-src-33bdcbd9cfcca378bec7970a1475f108ee4d03e7.tar.gz
When restarting a transfer that has already completed, the server will
reply with a 416 error code (requested range not satisfiable) because we ask it to start at the end of the file. Handle this gracefully by considering a 416 reply a success if the requested offset exactly matches the length of the file and the requested length is zero.
Diffstat (limited to 'bin/cat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud