Cronet 支持DnsHttpsSvcb

Cronet 设置`UseDnsHttpsSvcb`等实验选项支持HTTPS 类型的dns请求,从dns HTTPS记录中就能获取到支持的alpn,用来确定升级http3。

https://github.com/chromium/chromium/commit/77379815db4354afa3a81c9dd26995c7edc76b16
This commit is contained in:
ag2s20150909
2022-09-29 13:57:59 +08:00
parent b918029eff
commit 15fbc844f1
5 changed files with 44 additions and 16 deletions
+5 -6
View File
@@ -3,12 +3,12 @@ plugins {
}
android {
compileSdkVersion 32
buildToolsVersion '32.0.0'
compileSdk 33
//buildToolsVersion '32.0.0'
namespace 'me.ag2s.epublib'
defaultConfig {
minSdkVersion 21
targetSdkVersion 32
minSdk 21
targetSdk 33
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
@@ -19,8 +19,6 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
android {
}
}
compileOptions {
@@ -33,5 +31,6 @@ android {
}
dependencies {
compileOnly "com.android.tools.build:gradle:$agp_version"
implementation "androidx.annotation:annotation:1.5.0"
}