https://bz.apache.org/bugzilla/show_bug.cgi?id=60750
--- Comment #18 from Christopher Schultz <ch...@christopherschultz.net> --- The following JSP runs (somewhat) correctly on Tomcat 8.0.41. It emits 2 chunks, then intentionally causes an OOME before the third section of the response. Tomcat captures the error and emits a 0-length chunk to properly end the response. === CUT === The first chunk should be here. <% out.flush(); %> The second chunk should be here. <% out.flush(); // Let's cause an OOME int[] a = new int[Integer.MAX_VALUE]; %> The final chunk should be here. === CUT === -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org