[repo] Lab relay: compile fixes after the first build (clippy, fmt); 28 unit tests pass

This commit is contained in:
2026-11-25 13:08:46 +01:00
parent ab5404b0cf
commit fd1c141ca8
6 changed files with 48 additions and 26 deletions
+1 -6
View File
@@ -60,12 +60,7 @@ fn run(args: &[String]) -> AnyResult {
let mut threads = Vec::new();
for spec in config.ports()? {
let (config, rec) = (Arc::clone(&config), Arc::clone(&rec));
println!(
"lab-relay: {:?} {} -> {}",
spec.protocol,
config.listen_addr(&spec),
config.upstream_addr(&spec)
);
println!("lab-relay: {:?} {} -> {}", spec.protocol, config.listen_addr(&spec), config.upstream_addr(&spec));
threads.push(thread::spawn(move || {
let r = match spec.transport {
Transport::Tcp => tcp::serve(Arc::clone(&config), spec, Arc::clone(&rec)),