Client cancels download, I/O exception at AttachmentServlet makes server throw
a IllegalStateException
------------------------------------------------------------------------------------------------------
Key: JSPWIKI-146
URL: https://issues.apache.org/jira/browse/JSPWIKI-146
Project: JSPWiki
Issue Type: Improvement
Affects Versions: 2.6.0
Environment: Jetty 6.1.5
Sun JDK 1.6u3
Solaris x86
JSPWiki 2.4.102
Reporter: Claudio Miranda
Priority: Minor
At com.ecyrd.jspwiki.attachment.AttachmentServlet, when client drops download,
there is a IllegalStateException at server log files, cause by res.sendError(
HttpServletResponse.SC_INTERNAL_SERVER_ERROR, msg );
I understand that as some IOException happened, there is no possible way to
determine what caused the IOE, and as this is a simple download, I ask if is
necessary to throw a internal server error to the web server, instead to simple
logging it
2.4.102: line 342
2.6.0: line 368
I report this against 2.6.0, but use 2.4.102, because I see the same code is at
both versions.
See a more detailed discussion at mailing list.
reference:
http://www.nabble.com/Cancel-attachment-download-throws-a-exception-td13948784.html#a13948784
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.