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

Http3 #475

Merged
merged 23 commits into from
Dec 10, 2021
Merged

Http3 #475

merged 23 commits into from
Dec 10, 2021

Conversation

YangSen-qn
Copy link
Contributor

No description provided.

YangSen-qn added 13 commits November 4, 2021 16:17
# Conflicts:
#	library/src/main/java/com/qiniu/android/http/ResponseInfo.java
#	library/src/main/java/com/qiniu/android/http/request/IRequestClient.java
# Conflicts:
#	library/src/androidTest/java/com/qiniu/android/transaction/TransactionManagerTest.java
@codecov
Copy link

codecov bot commented Nov 15, 2021

Codecov Report

Merging #475 (d3aa558) into develop (22b602c) will decrease coverage by 0.54%.
The diff coverage is 72.03%.

@@              Coverage Diff              @@
##             develop     #475      +/-   ##
=============================================
- Coverage      70.01%   69.46%   -0.55%     
- Complexity      1328     1366      +38     
=============================================
  Files            103      105       +2     
  Lines           6877     7035     +158     
  Branches        1045     1057      +12     
=============================================
+ Hits            4815     4887      +72     
- Misses          1301     1382      +81     
- Partials         761      766       +5     
Impacted Files Coverage Δ
.../main/java/com/qiniu/android/common/Constants.java 0.00% <ø> (ø)
...roid/storage/serverConfig/ServerConfigMonitor.java 54.80% <0.00%> (-1.08%) ⬇️
.../qiniu/android/http/request/HttpSingleRequest.java 67.74% <41.66%> (-10.66%) ⬇️
...iniu/android/http/connectCheck/ConnectChecker.java 91.46% <50.00%> (ø)
.../qiniu/android/http/request/HttpRegionRequest.java 78.87% <50.00%> (-4.47%) ⬇️
.../android/http/serverRegion/UploadDomainRegion.java 46.60% <50.00%> (-4.53%) ⬇️
.../java/com/qiniu/android/storage/Configuration.java 88.63% <60.00%> (-1.84%) ⬇️
.../com/qiniu/android/http/request/IUploadServer.java 55.00% <62.50%> (+5.00%) ⬆️
...droid/http/metrics/UploadSingleRequestMetrics.java 76.06% <74.48%> (-10.05%) ⬇️
...main/java/com/qiniu/android/http/ResponseInfo.java 64.70% <75.00%> (-1.56%) ⬇️
... and 22 more

}
}

if (host != null && ip != null && live > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YangSen-qn 这里应该是要对 port 进行解析的,否则 x-alt-src 返回的这个元素就失去意义了

}
}
//本地地址
repositories { maven { url = "file:/Users/senyang/.m2/repository/" } }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YangSen-qn 这个这么写不合适吧?

RequestClientProgress progress,
RequestClientCompleteHandler complete);
public abstract void request(Request request,
IUploadServer server,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YangSen-qn 建议设计成即使接口增加新的参数,也不至于会做成不兼容变更的形态

@xwen-winnie xwen-winnie merged commit 1f364ad into qiniu:develop Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants