This commit is contained in:
2
.github/ISSUE_TEMPLATE/Custom.md
vendored
2
.github/ISSUE_TEMPLATE/Custom.md
vendored
@@ -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/807
|
||||||
|
- fix bug https://github.com/AriaLyy/Aria/issues/811
|
||||||
+ v_3.8.15 (2020/11/9)
|
+ v_3.8.15 (2020/11/9)
|
||||||
- 修复不支持断点的连接下载失败问题,https://github.com/AriaLyy/Aria/issues/771
|
- 修复不支持断点的连接下载失败问题,https://github.com/AriaLyy/Aria/issues/771
|
||||||
- 修复iv不存在时,索引文件异常的问题,https://github.com/AriaLyy/Aria/issues/780
|
- 修复iv不存在时,索引文件异常的问题,https://github.com/AriaLyy/Aria/issues/780
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ final class HttpUThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uploadFile(writer, mTaskOption.getAttachment(), uploadFile);
|
uploadFile(writer, mTaskOption.getAttachment(), uploadFile);
|
||||||
getEntity().setResponseStr(finish(writer));
|
finish(writer);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
fail(new AriaHTTPException(
|
fail(new AriaHTTPException(
|
||||||
@@ -214,10 +214,12 @@ final class HttpUThreadTaskAdapter extends BaseHttpThreadTaskAdapter {
|
|||||||
}
|
}
|
||||||
reader.close();
|
reader.close();
|
||||||
mHttpConn.disconnect();
|
mHttpConn.disconnect();
|
||||||
|
getEntity().setResponseStr(response.toString());
|
||||||
complete();
|
complete();
|
||||||
} else {
|
} else {
|
||||||
String msg = "response msg: " + mHttpConn.getResponseMessage() + ",code: " + status;
|
String msg = "response msg: " + mHttpConn.getResponseMessage() + ",code: " + status;
|
||||||
ALog.e(TAG, msg);
|
ALog.e(TAG, msg);
|
||||||
|
getEntity().setResponseStr(response.toString());
|
||||||
fail(new AriaHTTPException(msg), false);
|
fail(new AriaHTTPException(msg), false);
|
||||||
response.append(status);
|
response.append(status);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user