Package: zsync
Version: 0.6.2-1
Severity: normal

--- Please enter the report below this line. ---

Example file size: 380476
Requested range by zsync: bytes=0-380927

So, the client asked for a part of the file that lies beyond the end of the file. Most web servers ignore this behavior like nginx:

Request:
GET /20121009-165404.jpg HTTP/1.1
User-Agent: zsync/0.6.2
Host: tumbleweed:80
Referer: http://tumbleweed:80/20121009-165404.jpg.zsync
Range: bytes=0-380927
Connection: close

Reply:
HTTP/1.1 206 Partial Content
Server: nginx/1.2.1
Date: Sat, 04 Jan 2014 15:44:01 GMT
Content-Type: image/jpeg
Content-Length: 380476
Last-Modified: Fri, 03 Jan 2014 14:03:32 GMT
Connection: close
Content-Range: bytes 0-380475/380476

But from my understanding, this might also result in 416 reply:
416 Requested Range Not Satisfiable

--- System information. ---
Architecture: amd64
Kernel: Linux 3.12-1-amd64

Debian Release: jessie/sid
500 unstable ftp.de.debian.org

--- Package information. ---
Depends (Version) | Installed
======================-+-===========
libc6 (>= 2.7) | 2.17-97


Package's Recommends field is empty.

Package's Suggests field is empty.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to