-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
uploadManager 是全局单例
private val qiniuUploadManager: UploadManager by lazy {
UploadManager(
Configuration.Builder()
.resumeUploadVersion(Configuration.RESUME_UPLOAD_VERSION_V2)
.useConcurrentResumeUpload(true)
.concurrentTaskCount(3)
.connectTimeout(10)
.responseTimeout(10)
.build()
)
}
使用的 sdk 是 8.4.4 版本
implementation('com.qiniu:qiniu-android-sdk:8.4.4') {
exclude(group: 'com.squareup.okhttp3', module: 'okhttp')
}
在 UpProgressHandler 已经有进度回调时,断开网络时(测试反馈是 Wi-Fi 切换 4g,开发场景是断开网络),连接超时没有 UpCompletionHandler 的回调。
升级到 8.5.0 之后,相同的操作步骤,会在断开网络后, com.qiniu.android.dns.dns.DohResolver 间隔 3 秒无限重试,没有失败的出口回调。
Metadata
Metadata
Assignees
Labels
No labels