tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33371] - Errors are not reported to user code (servlets).
Date Thu, 03 Feb 2005 01:54:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33371>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33371





------- Additional Comments From william.barker@wilshire.com  2005-02-03 02:54 -------
It looks to me like an IOException should be being thrown back to the 
servlet.  Just after sendHeaders returns normally (as it must, since 
ActionHook.action can't throw), JkCoyoteHandler.doWrite will attempt to send 
the response body, causing ChannelSocket.send to throw an IOException again, 
which will be caught, wrapped, and rethrown by OutputBuffer.realWriteBytes.  
This one gets sent back to the servlet to deal with.  

Granted, exception handling could be cleaned up a bit, and Jk-Coyote could 
close the connection a bit sooner.  However, neither of these should be 
causing major problems.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message