cvs commit: src/lib/libfetch http.c

Ion-Mihai Tetcu itetcu at apropo.ro
Wed Feb 11 04:36:28 PST 2004


On Wed, 11 Feb 2004 01:31:40 -0800 (PST)
Dag-Erling Smorgrav <des at FreeBSD.org> wrote:

> 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.

Thanks.


-- 
IOnut
Unregistered ;) FreeBSD user


More information about the cvs-all mailing list