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)

Reply via email to