Mantis - Resin
Viewing Issue Advanced Details
135 minor always 05-04-05 00:00 05-10-05 00:00
sam  
 
high  
closed 3.0.12  
3.0.12 unable to reproduce  
none    
none 3.0.13  
0000135: Range requests may overlap, may be unordered
RSN-126
(rep by C Braunstein)

The Adobe acrobat client makes Range requests that are not
ordered, and may overlap. This may result from the Distiller
option of "Optimize for fast web viewing"

In particular, the first request in the log below has a third
range that overlaps the first two ranges, and the last request
has 27 unordered ranges specified in a single request.

The http spec does not require that the ranges are ordered, and
specifically gives an example of an overlapping range:

"
Several legal but not canonical specifications of the second 500
bytes (byte offsets 500-999, inclusive):
  bytes=500-600,601-999
  bytes=500-700,601-999
"

[17:30:38.697] [7] GET /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E729F5F
6.pdf HTTP/1.1
[17:30:38.697] [7] Accept: */*
[17:30:38.697] [7] Range: bytes=471883-472998, 474989-475608,
36616-72859
[17:30:38.697] [7] Accept-Encoding: gzip, deflate ; SV1)
[17:30:38.697] [7] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ; SV1)
[17:30:38.697] [7] Host: new.knovel.com
[17:30:38.697] [7] Connection: Keep-Alive
[17:30:38.697] [7] Cache-Control: no-cache
[17:30:38.697] [7] Cookie: JSESSIONID=3Nbxsx_CNX6jVtuF
[17:30:38.697] using cache: /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E7 29F5F6.pdf
[17:30:38.697] [7] HTTP/1.1 206 Partial Content
[17:30:38.697] [7] ETag: "EM4v8VOLS/l"
[17:30:38.697] [7] Last-Modified: Mon, 07 Feb 2005 19:48:23 GMT
[17:30:38.697] [7] Accept-Ranges: bytes
[17:30:38.697] [7] Cache-Control: max-age=86400
[17:30:38.697] [7] Expires: Tue, 03 May 2005 21:30:38 GMT
[17:30:38.697] [7] Content-Type: multipart/byteranges; boundary=--98+eNEaORBt
[17:30:38.697] [7] Transfer-Encoding: chunked
[17:30:38.697] [7] chunk: 93
[17:30:38.697] [7] chunk: 95
[17:30:38.697] [7] chunk: 93
[17:30:38.775] [7] chunk: 21
[17:30:38.947] [7] keepalive
6.pdf HTTP/1.1
[17:30:39.479] [7] GET /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E729F5F
6.pdf HTTP/1.1
[17:30:39.479] [7] Accept: */*
[17:30:39.479] [7] Range: bytes=470335-471882
[17:30:39.479] [7] Accept-Encoding: gzip, deflate ; SV1)
[17:30:39.479] [7] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ; SV1)
[17:30:39.479] [7] Host: new.knovel.com
[17:30:39.479] [7] Connection: Keep-Alive
[17:30:39.479] [7] Cache-Control: no-cache
[17:30:39.479] [7] Cookie: JSESSIONID=3Nbxsx_CNX6jVtuF
[17:30:39.479] using cache: /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E7
29F5F6.pdf
[17:30:39.479] [7] HTTP/1.1 206 Partial Content
[17:30:39.479] [7] ETag: "EM4v8VOLS/l"
[17:30:39.479] [7] Last-Modified: Mon, 07 Feb 2005 19:48:23 GMT
[17:30:39.479] [7] Accept-Ranges: bytes
[17:30:39.479] [7] Cache-Control: max-age=86400
[17:30:39.479] [7] Expires: Tue, 03 May 2005 21:30:39 GMT
[17:30:39.479] [7] Content-Range: bytes 470335-471882/475609
[17:30:39.479] [7] Content-Type: application/pdf
[17:30:39.479] [7] Content-Length: 1548
[17:30:39.479] [7] keepalive
[17:30:39.557] [7] GET /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E729F5F
6.pdf HTTP/1.1
[17:30:39.557] [7] Accept: */*
[17:30:39.557] [7] Range: bytes=473971-474988, 473969-473970, 461472-462758, 462 759-463993, 467144-468420, 465917-467143, 464192-465454, 463994-464191, 72860-73091, 73092-102629, 102630-104675, 459982-461262, 461263-461471, 104676-107445, 107446-112985, 112986-115755, 465659-465916, 465455-465658, 115756-121295, 468421-469644, 469645-469885, 121296-146955, 146956-149465, 149466-152699, 152700-155933, 469886-470334, 155934-198703
[17:30:39.557] [7] Accept-Encoding: gzip, deflate ; SV1)
[17:30:39.557] [7] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1 ; SV1)
[17:30:39.557] [7] Host: new.knovel.com
[17:30:39.557] [7] Connection: Keep-Alive
[17:30:39.557] [7] Cache-Control: no-cache
[17:30:39.557] [7] Cookie: JSESSIONID=3Nbxsx_CNX6jVtuF
[17:30:39.557] using cache: /hogwarts/gryffindor/pdf/400/4A40E69B6E4A6A2753FCEB57E7
29F5F6.pdf
[17:30:39.557] [7] HTTP/1.1 206 Partial Content
[17:30:39.557] [7] ETag: "EM4v8VOLS/l"
[17:30:39.557] [7] Last-Modified: Mon, 07 Feb 2005 19:48:23 GMT
[17:30:39.557] [7] Accept-Ranges: bytes
[17:30:39.557] [7] Cache-Control: max-age=86400
[17:30:39.557] [7] Expires: Tue, 03 May 2005 21:30:39 GMT
[17:30:39.557] [7] Content-Type: multipart/byteranges; boundary=--4zxUUUhwupA
[17:30:39.557] [7] Transfer-Encoding: chunked
[17:30:39.557] [7] chunk: 93
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 95
[17:30:39.557] [7] chunk: 93
[17:30:39.557] [7] chunk: 94
[17:30:39.619] [7] chunk: 95
[17:30:39.619] [7] chunk: 95
[17:30:39.619] [7] chunk: 95
[17:30:39.619] [7] chunk: 95
[17:30:39.619] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.791] [7] chunk: 95
[17:30:39.947] [7] chunk: 95
[17:30:39.947] [7] chunk: 95
[17:30:39.947] [7] chunk: 95
[17:30:39.947] [7] chunk: 95
[17:30:39.947] [7] chunk: 95
[17:30:40.979] [7] chunk: 21
[17:30:41.088] [7] keepalive
[17:30:50.541] closing connection
TcpConnection[id=resin-tcp-connection-*:80-17,
socket=JniSocketImpl$18360202[60555872],port=Port[null:80]], total=7

Notes
(0000161)
sam   
05-04-05 00:00   
RSN-130
(0000162)
ferg   
05-04-05 00:00   
server/058j, server/058k

Verified that Resin is returning overlapping and unordered ranges correctly.