Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

刚接入了,也发现了这个问题。这个判断文件是否存在的代码得改一下。 #392

Closed
ziyouxiaozi opened this issue Feb 7, 2021 · 0 comments

Comments

@ziyouxiaozi
Copy link

刚接入了,也发现了这个问题。这个判断文件是否存在的代码得改一下。
我在 InputStreamProvider 接口新增了一个方法,通过流获取大小。
@OverRide
public long getInputStreamSize() throws IOException {
return inputStream == null ? 0 : inputStream.available();
}

Originally posted by @Love667767 in #383 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant