https://bz.apache.org/bugzilla/show_bug.cgi?id=60750

--- Comment #20 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Christopher Schultz from comment #19)
> Tomcat 7.0.76 chokes on this JSP in the way that qixiaobo...@gmail.com has
> described. Here are the TCP responses from Tomcat 7 captured using Wireshark:

Christopher,

the correct behaviour after an OOM like that is to abort the connection,
without any terminating chunk.

OOM = the processing failed, the client should note that the failure occurred,
e.g. that the document that the person downloads is truncated.

Sending the terminating 0-length chunk gives an illusion that everything is OK,
while it certainly is not.


See r1602443 and CLOSE_NOW action that I mentioned in Comment 9.

Discussion that lead to that change is in thread
titled "Error handling" on dev@, started 2014-05-29.
http://tomcat.markmail.org/thread/znillhttbmvsl5e5

-- 
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

Reply via email to