laoyuyu 4 years ago
parent bcfb78109b
commit 35e66caab5
  1. 2
      .github/ISSUE_TEMPLATE/Custom.md
  2. 1
      DEV_LOG.md
  3. 4
      HttpComponent/src/main/java/com/arialyy/aria/http/upload/HttpUThreadTaskAdapter.java

@ -11,6 +11,8 @@ about: 提交问题前,请先阅读文档和搜索issue
* 系统版本
## 错误的url
## 错误日志
<!-- 请提供详细的错误日志 -->

@ -3,6 +3,7 @@
- 修复单线程下载时,文件已经完成,重复下载回调下载失败的问题
- 修复一个重新下载文件时,同名路径文件没有被被删除的问题
- fix bug https://github.com/AriaLyy/Aria/issues/807
- fix bug https://github.com/AriaLyy/Aria/issues/811
+ v_3.8.15 (2020/11/9)
- 修复不支持断点的连接下载失败问题,https://github.com/AriaLyy/Aria/issues/771
- 修复iv不存在时,索引文件异常的问题,https://github.com/AriaLyy/Aria/issues/780

@ -102,7 +102,7 @@ final class HttpUThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
}
uploadFile(writer, mTaskOption.getAttachment(), uploadFile);
getEntity().setResponseStr(finish(writer));
finish(writer);
} catch (Exception e) {
e.printStackTrace();
fail(new AriaHTTPException(
@ -214,10 +214,12 @@ final class HttpUThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
}
reader.close();
mHttpConn.disconnect();
getEntity().setResponseStr(response.toString());
complete();
} else {
String msg = "response msg: " + mHttpConn.getResponseMessage() + ",code: " + status;
ALog.e(TAG, msg);
getEntity().setResponseStr(response.toString());
fail(new AriaHTTPException(msg), false);
response.append(status);
}

Loading…
Cancel
Save