jixinchi commented on PR #163:
URL: https://github.com/apache/jclouds/pull/163#issuecomment-1810075120
I attempted to apply a JIRA account a few days ago, but haven't received a
response yet. It would be greatly appreciated if you could help me record this
issue!
I'm trying to fix the bug, but the codes about blob/payload/stream are too
complex for me, and it looks like you have some TODOs and ongoing PRs on it. I
am not able to fix the problem. What I can do is just to revert the following
snippet and wait for your help.
```java
InputStream is = blob.getPayload().openStream();
if (is instanceof FileInputStream) {
// except for FileInputStream since large MPU can open too many
fds
is.close();
payload = blob.getPayload();
} else {
blob.resetPayload(/*release=*/ false);
payload = new InputStreamPayload(is);
}
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]