diff --git a/changelog.md b/changelog.md index 027bd88..07afe45 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-16 - 25.11.13 - fix(rustproxy-http) +remove hot-path debug logging from HTTP/1 connection pool hits + +- Stops emitting debug logs when reusing HTTP/1 idle connections in the connection pool. +- Keeps pool hit behavior unchanged while reducing overhead on a frequently executed path. + ## 2026-03-16 - 25.11.12 - fix(rustproxy-http) remove connection pool hit logging and keep logging limited to actual failures diff --git a/rust/crates/rustproxy-http/src/connection_pool.rs b/rust/crates/rustproxy-http/src/connection_pool.rs index 0d64586..c956f55 100644 --- a/rust/crates/rustproxy-http/src/connection_pool.rs +++ b/rust/crates/rustproxy-http/src/connection_pool.rs @@ -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 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 80ce790..8300245 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartproxy', - version: '25.11.12', + version: '25.11.13', description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.' }