This commit is contained in:
Jun Kurihara 2022-07-18 15:36:34 +09:00
commit c25012b362
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 2 additions and 2 deletions

View file

@ -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};

View file

@ -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,