Date: Fri, 16 Jul 2004 09:02:47 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ftp fetch.c Message-ID: <200407160902.i6G92lTo092105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2004-07-16 09:02:47 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_4)
usr.bin/ftp fetch.c
Log:
Stop pretending we support full-blown HTTP/1.1 because we are not
ready to handle all its aspects. Failure to deal with HTTP/1.1,
with chunked transfer encoding in particular, led to broken transfers
and data corruption. Fall back to using HTTP/1.0, which is safe.
A point to note: While the "Host:" header had not been in the
original HTTP/1.0 standard, it became a de-facto standard for
HTTP/1.0 as well. It is understood by servers in HTTP/1.0
sessions if supported at all.
This issue doesn't apply to CURRENT since lukemftp handles HTTP/1.1
correctly.
PR: bin/68547
Reviewed by: vs
Revision Changes Path
1.12.2.7 +1 -1 src/usr.bin/ftp/fetch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407160902.i6G92lTo092105>
