[
http://jira.amdatu.org/jira/browse/AMDATU-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11688#comment-11688
]
Arthur Meijer commented on AMDATU-432:
--------------------------------------
I agree, the code should be converted so the url is opened only once.
The path algorithm is weird, especially in cases of ignored caught Exceptions
In general, setting response headers after sending contents is useless, unless
the response buffer is set to a large enough size.
So this may work depending on file size and default buffer size.
> ResourceServlet getLastModified results in open FileDescriptor
> --------------------------------------------------------------
>
> Key: AMDATU-432
> URL: http://jira.amdatu.org/jira/browse/AMDATU-432
> Project: Amdatu
> Issue Type: Bug
> Reporter: Arthur Meijer
> Assignee: Marcel Offermans
> Fix For: 0.2.1
>
>
> The getLastModified() method of the ResourceServlet leaves files open when
> retrieving the lastmodified header for file:// urls.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers