> > 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 Steffen
smime.p7s
Description: S/MIME cryptographic signature