On 04/03/2016 13:19, Tullio Bettinazzi wrote: > Done and nothing changed.
What has changed is that you have now provided a test case that someone else can run easily and confirm, or not, your findings. > Any suggestion ? Before anyone spends time looking at this the other question I don't see answered in this thread is "Exactly which Tomcat 8 version were you testing?". If it isn't the the latest then you'll need to retest to confirm the issue hasn't already been fixed. Mark > Here the code. > > package axioma.rubik.engine.web.servlet; > > import java.io.*; > import javax.servlet.ServletException; > import javax.servlet.annotation.WebServlet; > import javax.servlet.http.*; > > @WebServlet(name="Test8", description="Direct update of data", > urlPatterns={"/Test8"}) > public class Test8Servlet extends HttpServlet { > > private static final long serialVersionUID = 1L; > > @Override > protected void doGet(HttpServletRequest request, HttpServletResponse > response) throws ServletException, IOException { > try { > fai(response); > } catch (Exception ex) { > ex.printStackTrace(); > } > } > > public void fai(HttpServletResponse response) throws IOException { > ByteArrayOutputStream bbs = new ByteArrayOutputStream(); > BufferedOutputStream bos = new BufferedOutputStream(bbs); > for(int i = 0; i < 400000; i++) { > bos.write(96); > } > bos.flush(); > bbs.writeTo(response.getOutputStream()); > } > } --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org