ezsystems/ezpublish — pull request #506 by darylounet (2012-11-20 11:09:40+00:00)
Title: Debug empty $endOffset for http range

With CLUSTER_ENABLE_HTTP_RANGE enabled, Google Chrome asks for the total bytes range header "Range: bytes=0-". With this request header, the cluster gateway does not recognize end offset value and return this response header : "Content-Range: bytes 0-/19448241" which is not valid.
See the "Range" header RFC : http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
and the "Content-Range" header RFC : http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.16
Tested on a .mp4 file (on dfsmysqli) with Chrome 23.0.1271.64 on MacOs X 10.8.2 from client and both NGiNX 1.2.5 and Apache 2.2.20 on Ubuntu server.