patches QuicConnectionManager::new_connection_config (#32031)
QuicConnectionManager::new_connection_config is returning an invalid new QuicConfig instead of the value it is initialized with.
This commit is contained in:
parent
8937fd9bd6
commit
f2f1dab5ea
|
@ -79,6 +79,7 @@ impl ConnectionPool for QuicPool {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct QuicConfig {
|
||||
client_certificate: Arc<QuicClientCertificate>,
|
||||
maybe_staked_nodes: Option<Arc<RwLock<StakedNodes>>>,
|
||||
|
@ -204,7 +205,7 @@ impl ConnectionManager for QuicConnectionManager {
|
|||
}
|
||||
|
||||
fn new_connection_config(&self) -> QuicConfig {
|
||||
QuicConfig::new().unwrap()
|
||||
self.connection_config.clone()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue