refactor
This commit is contained in:
parent
f2a341e198
commit
c25012b362
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ use super::Proxy;
|
||||||
use crate::{backend::ServerNameLC, error::*, log::*};
|
use crate::{backend::ServerNameLC, error::*, log::*};
|
||||||
use bytes::{Buf, Bytes};
|
use bytes::{Buf, Bytes};
|
||||||
use h3::{quic::BidiStream, server::RequestStream};
|
use h3::{quic::BidiStream, server::RequestStream};
|
||||||
use hyper::{client::connect::Connect, Body, HeaderMap, Request, Response};
|
use hyper::{client::connect::Connect, Body, Request, Response};
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use tokio::time::{timeout, Duration};
|
use tokio::time::{timeout, Duration};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "h3")]
|
#[cfg(feature = "h3")]
|
||||||
async fn parse_sni_and_get_crypto_h3<'a, 'b>(
|
async fn parse_sni_and_get_crypto_h3<'a>(
|
||||||
&self,
|
&self,
|
||||||
peeked_conn: &mut quinn::Connecting,
|
peeked_conn: &mut quinn::Connecting,
|
||||||
server_crypto_map: &'a ServerCryptoMap,
|
server_crypto_map: &'a ServerCryptoMap,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue