Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 01:31:40 -0800 (PST)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libfetch http.c
Message-ID:  <200402110931.i1B9VeE9055525@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402110931.i1B9VeE9055525>