On 01/06/2016 23:08, Steffen Heil (Mailinglisten) wrote: >>> That's another story. >>> I tried that. And the internet explorer as well as curl report an error, if >>> the download stops without the ending 0\r\n. >>> >>> But I had to set "Connection: close" and "Transfer-Encoding: chunked" >>> myself and encode the chunk headers myself. >>> If I leave these two headers out, tomcat managed the transfer-encoding (as >>> I set no Content-Length header) which I would prefer. >>> However then I find no way to close the connection. If I call "close()" on >>> the OutputStream tomcat sends 0\r\n. >>> Even if I throw an exception, tomcat "correctly" closes the stream. >>> I did not find any way to close it without that. >>> >>> Is there any way to do so? >> >> Tomcat version? > > 8.0.26
There was a change back in 8.0.9 that I thought addressed this. I need to do a little digging. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org