Am 05.05.2017 um 09:30 schrieb Support: > Package: tomcat7 > > Version: 7.0.28-4+deb7u12 > > > > When I request a PNG file The request stalls part way through and fails > to return the full image. In a remote browser the request, > https://example-site.com/path/to/an/image.png, is eventually timed out > by a proxy and responds with HTTP code 206 > > or from command line on the server, wget > http://localhost:8080/path/to/an/image.png, the request seems to run > forever without completing.
Hello, thanks for the report. What Connector protocol do you use? This can be changed in /etc/tomcat7/server.xml. I am using the NIO protocol and downloading large static files or viewing images in a web browser works as expected. This looks like a sendfile issue. This feature is enabled by default. The behaviour has changed lately due to the fix for CVE-2017-5647. Can you try to drop the patch for CVE-2017-5647, rebuild tomcat7 and try again? Disable the tests by exporting DEB_BUILD_OPTIONS=nocheck to speed up the process. Regards, Markus
signature.asc
Description: OpenPGP digital signature