boris-petrov commented on pull request #166:
URL: https://github.com/apache/commons-vfs/pull/166#issuecomment-797537806


   Ah, I see now what the problem is... `getContent` on a `FileObject` is 
called from multiple threads (which get the same `DefaultFileContent` object) 
and then one of the threads closes the `DefaultFileContent` which will close 
all streams, including the ones for the other threads... I don't really know 
how to fix this easily. @MaxKellermann, @garydgregory - any ideas?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to