diff --git a/cubesys/src/bin/cube-server.rs b/cubesys/src/bin/cube-server.rs index 268d9cd..7c88ac7 100644 --- a/cubesys/src/bin/cube-server.rs +++ b/cubesys/src/bin/cube-server.rs @@ -100,6 +100,19 @@ impl Server { } }; ts.set_identity(ident); + // Acknowledge the HELLO so the + // client can proceed to commands. + if write_frame( + &mut stream, + &format!( + "ok: tenant {}", + ts.identity().unwrap().tenant.as_str() + ), + ) + .is_err() + { + return; + } ts } Err(e) => {