fix(rustproxy-http): remove hot-path debug logging from HTTP/1 connection pool hits

This commit is contained in:
2026-03-16 13:17:02 +00:00
parent b8e1c9f3cf
commit 2b1a21c599
3 changed files with 8 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ impl ConnectionPool {
while let Some(idle) = idles.pop() {
// Check if the connection is still alive and ready
if idle.idle_since.elapsed() < IDLE_TIMEOUT && idle.sender.is_ready() && !idle.sender.is_closed() {
debug!("Pool hit (h1): {}:{}", key.host, key.port);
// H1 pool hit — no logging on hot path
return Some(idle.sender);
}
// Stale or closed — drop it