Potential Bug: Gzipping preventing HTTP range requests

Ensiferous nginx-forum at nginx.us
Fri Jun 24 21:46:46 MSD 2011


Hi!

A question was posed in IRC yesterday about Range requests not being
honoured when using gzipping.
After testing it I've confirmed that there appears to be a problem.

I've put a test file online you can test against:
http://216.218.189.55/range.txt

The following curl runs were used to test:
curl -r 0-5 http://216.218.189.55/range.txt <- gives 6 bytes
curl -r 0-5 --compressed http://216.218.189.55/range.txt <- gives full
file

I've pasted the results of debug logging here:
http://pastie.org/pastes/2116321/text?key=shexc9k0h7nmu6p4gkhug

Thanks for your attention,
Martin Fjordvald

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,209738,209738#msg-209738




More information about the nginx mailing list