boris-petrov commented on pull request #166: URL: https://github.com/apache/commons-vfs/pull/166#issuecomment-796832350
@MaxKellermann - you're right. I fixed this by just synchronizing all calls to `getFileContentThreadData`. They are methods that should not take long so this won't be a performance problem. And anyway they generally won't be called at the same time. As for the at most one `OutputStream` globally - I believe that to be a feature, not a bug. Why would anyone one to write to a single file from multiple threads at the same time? @garydgregory - I added a couple of tests. ---------------------------------------------------------------- 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]
