Rename HTTPS implementation to H2

This commit is contained in:
daxpedda
2023-10-05 16:00:56 +02:00
committed by Benjamin Fry
parent ebb098de38
commit f10faa3516
15 changed files with 26 additions and 26 deletions

View File

@@ -314,7 +314,7 @@ async fn https(_opts: Opts) -> Result<(), Box<dyn std::error::Error>> {
#[cfg(feature = "dns-over-https")]
async fn https(opts: Opts) -> Result<(), Box<dyn std::error::Error>> {
use trust_dns_proto::https::HttpsClientStreamBuilder;
use trust_dns_proto::h2::HttpsClientStreamBuilder;
let nameserver = opts.nameserver;
let alpn = opts