Subject: bin/37552: httpd(8) doesn't support byterange requests
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 12/16/2007 19:15:00
>Number: 37552
>Category: bin
>Synopsis: httpd(8) doesn't support byterange requests
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Dec 16 19:15:00 +0000 2007
>Originator: Matthias Scheler
>Release: NetBSD 4.0_RC3 (Looking at current sources from 2007-12-16)
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 4.0_RC3 NetBSD 4.0_RC3 (COLWYN) #1: Tue Oct 30 08:06:40 GMT 2007 tron@colwyn.zhadum.org.uk:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The httpd(8) distributed with NetBSD-current doesn't support byterange
requests. That will e.g. prevent HTTP clients to resume an interrupted
download.
>How-To-Repeat:
1.) Start a download over HTTP:
wget http://ftp.NetBSD.org/pub/NetBSD/iso/4.0/multi-cd3-4.0.iso
2.) Press <CTRL>-C to stop it.
3.) Try to resume it:
wget -c http://ftp.NetBSD.org/pub/NetBSD/iso/4.0/multi-cd3-4.0.iso
The server will send a "200" and the complete file instead a "206"
and the range that "wget" requests.
>Fix:
Add support for byteranges (see RFC 2616).