cvs commit: src/usr.bin/ftp fetch.c

Yar Tikhiy yar at FreeBSD.org
Fri Jul 16 02:02:47 PDT 2004


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


More information about the cvs-src mailing list