From e25c978aa8b660f8625c1f117f38551d8ba7d666 Mon Sep 17 00:00:00 2001 From: Diogo Martins Date: Fri, 4 Dec 2026 17:42:03 +0000 Subject: [PATCH] Update Pingora to 0.9 so its harness accepts connections The Pingora entry never answered in CI, even after #169: every test failed to connect. pingora-core 0.7.0 wraps each accepted TCP stream in BufStream::with_capacity(0, 0, ..) and sizes the buffers later; tokio 1.54, which cargo resolves today (there is no lockfile), asserts that a BufReader capacity is greater than zero, so the service thread panicked ("capacity must be greater than zero") on the first connection. In CI that was the readiness curl, so the probe found nothing listening. Pingora 0.9 builds the harness unchanged and runs it: a full local probe scores 151 of 170, with no crash. --- src/Servers/PingoraServer/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers/PingoraServer/Cargo.toml b/src/Servers/PingoraServer/Cargo.toml index 975cc89..c092376 100644 --- a/src/Servers/PingoraServer/Cargo.toml +++ b/src/Servers/PingoraServer/Cargo.toml @@ -4,6 +4,6 @@ version = "1.0.0" edition = "2021" [dependencies] -pingora = { version = "0.7", features = ["proxy"] } +pingora = { version = "0.9", features = ["proxy"] } async-trait = "0.1" bytes = "1"