Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Bug
-
OpenCMIS 1.0.0
-
None
-
None
Description
AbstractBrowserServiceCall implementations such as CraeteDocument,
SetContentStream and AppendContentStream do not close content streams
created in serve() methods by using AbstractBrowserServiceCall#createContentStream().
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.