升级 qiniu/go-sdk 到 v7.9.3 #304
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
变更背景描述
Qshell 使用 qnupload 和 qnupload2 上传多个文件时,因为复用 putPolicy,在 qiniu/go-sdk v7.9.2 及其之前的版本里,如果 putPolicy 被多次调用 UploadToken 方法签发,则签发的 Upload Token 的 deadline 不会随着时间的推移而改动。需要修复这个问题。
jira issue链接
https://jira.qiniu.io/browse/KODO-11993
主要变更点
Checklist