[Fix] Pipes...
Some checks failed
CI / checks (push) Failing after 1m52s

This commit is contained in:
Alex Emmet 2026-07-15 03:41:54 +02:00
commit 6a65e43ca9
10 changed files with 353 additions and 104 deletions

View file

@ -101,8 +101,7 @@ pub async fn host(
};
let incoming_tx = incoming_tx.clone();
let policy = policy.clone();
tokio::spawn(handle_connection(connection, incoming_tx, policy));
tokio::spawn(handle_connection(connection, incoming_tx, policy.clone()));
}
});

View file

@ -228,7 +228,7 @@ async fn test_receiver_backpressure_with_small_queue() {
let mut h = start_test_host(cert_pem.clone(), key_pem).await;
let url = format!("https://127.0.0.1:{}", h.local_addr().port());
let policy = Policy::default().with_receiver_queue_capacity(1);
let (client_tx, client_rx) = connect(&url, Some(cert_pem), policy.clone()).await.unwrap();
let (client_tx, client_rx) = connect(&url, Some(cert_pem), policy).await.unwrap();
let (_host_tx, host_rx) = h.next().await.unwrap();
let tm = TypeMap::latest();