Stabilize ACP lazy install test

This commit is contained in:
Nathan Flurry 2026-03-08 14:02:37 -07:00
parent f88f2793c0
commit 15dc2dc375

View file

@ -93,8 +93,11 @@ fn serve_registry_once(document: Value) -> String {
let body = document.to_string();
std::thread::spawn(move || {
if let Ok((mut stream, _)) = listener.accept() {
respond_json(&mut stream, &body);
loop {
match listener.accept() {
Ok((mut stream, _)) => respond_json(&mut stream, &body),
Err(_) => break,
}
}
});