cvs commit: src/lib/libfetch http.c

Dag-Erling Smorgrav des at FreeBSD.org
Wed Feb 11 01:31:40 PST 2004


des         2004/02/11 01:31:40 PST

  FreeBSD src repository

  Modified files:
    lib/libfetch         http.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.71      +41 -9     src/lib/libfetch/http.c


More information about the cvs-src mailing list