chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MIURA Toru (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-1019) AbstractBrowserServiceCall impls do not close create content streans.
Date Sun, 12 Mar 2017 13:30:04 GMT
MIURA Toru created CMIS-1019:
--------------------------------

             Summary: AbstractBrowserServiceCall impls do not close create content streans.
                 Key: CMIS-1019
                 URL: https://issues.apache.org/jira/browse/CMIS-1019
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-server
    Affects Versions: OpenCMIS 1.0.0
            Reporter: MIURA Toru


AbstractBrowserServiceCall  implementations such as CraeteDocument, 
SetContentStream  and AppendContentStream do not close content streams
created in serve() methods.

If the implementation of SPI's ObjectService#createDocument, 
setContentStream or appendContentStream does not close the content stream, 
resources such as temporary files created by ThresholdOutputStream remain.

Whereas the inmemory and fileshare repositories close the content streams provided,
I believe the creator of streams should take responsibility to close it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message