From dfb3b0ac3716deea562f5c19efa2aba89881bfb5 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Thu, 26 Feb 2026 17:34:54 +0000 Subject: [PATCH] fix(dcrouter): bump @push.rocks/smartproxy to ^25.8.4 and remove custom smartProxy timeout/connection lifetime settings from dcrouter --- changelog.md | 6 ++++++ package.json | 2 +- pnpm-lock.yaml | 10 +++++----- ts/00_commitinfo_data.ts | 2 +- ts/classes.dcrouter.ts | 6 ------ ts_web/00_commitinfo_data.ts | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/changelog.md b/changelog.md index d39f099..7967c21 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-02-26 - 9.1.7 - fix(dcrouter) +bump @push.rocks/smartproxy to ^25.8.4 and remove custom smartProxy timeout/connection lifetime settings from dcrouter + +- Bumped dependency @push.rocks/smartproxy from ^25.8.3 to ^25.8.4 in package.json +- Removed explicit smartProxy options: socketTimeout, inactivityTimeout, keepAliveInactivityMultiplier, extendedKeepAliveLifetime, and maxConnectionLifetime from ts/classes.dcrouter.ts + ## 2026-02-26 - 9.1.6 - fix(cleanup) prevent event listener and log stream leaks, tighten smartProxy connection timeouts, and improve graceful shutdown behavior diff --git a/package.json b/package.json index 89a91f4..dd38752 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@push.rocks/smartnetwork": "^4.4.0", "@push.rocks/smartpath": "^6.0.0", "@push.rocks/smartpromise": "^4.2.3", - "@push.rocks/smartproxy": "^25.8.3", + "@push.rocks/smartproxy": "^25.8.4", "@push.rocks/smartradius": "^1.1.1", "@push.rocks/smartrequest": "^5.0.1", "@push.rocks/smartrx": "^3.0.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b8a2a1..4c207e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,8 +75,8 @@ importers: specifier: ^4.2.3 version: 4.2.3 '@push.rocks/smartproxy': - specifier: ^25.8.3 - version: 25.8.3 + specifier: ^25.8.4 + version: 25.8.4 '@push.rocks/smartradius': specifier: ^1.1.1 version: 1.1.1 @@ -1035,8 +1035,8 @@ packages: '@push.rocks/smartpromise@4.2.3': resolution: {integrity: sha512-Ycg/TJR+tMt+S3wSFurOpEoW6nXv12QBtKXgBcjMZ4RsdO28geN46U09osPn9N9WuwQy1PkmTV5J/V4F9U8qEw==} - '@push.rocks/smartproxy@25.8.3': - resolution: {integrity: sha512-ocFvNpB9UDxOt5R7mNcxI3vmVQDziANOXvbo0ApVLzVjWhHizUu2dvdfAgHW+rt8mACiBzrSiVNjwBA2pZhv7w==} + '@push.rocks/smartproxy@25.8.4': + resolution: {integrity: sha512-j1qRbO4qFV1HJgBPzF56FzTVY0u4/8kEQBK52Qt+/FDnUITGVGVkEWZrbe2H7zodjH6t+EGNdN4QEywBBq3Ylw==} '@push.rocks/smartpuppeteer@2.0.5': resolution: {integrity: sha512-yK/qSeWVHIGWRp3c8S5tfdGP6WCKllZC4DR8d8CQlEjszOSBmHtlTdyyqOMBZ/BA4kd+eU5f3A1r4K2tGYty1g==} @@ -6340,7 +6340,7 @@ snapshots: '@push.rocks/smartpromise@4.2.3': {} - '@push.rocks/smartproxy@25.8.3': + '@push.rocks/smartproxy@25.8.4': dependencies: '@push.rocks/smartcrypto': 2.0.4 '@push.rocks/smartlog': 3.2.1 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index e491bd2..d8a08f3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/dcrouter', - version: '9.1.6', + version: '9.1.7', description: 'A multifaceted routing service handling mail and SMS delivery functions.' } diff --git a/ts/classes.dcrouter.ts b/ts/classes.dcrouter.ts index 5cc2621..ea3af71 100644 --- a/ts/classes.dcrouter.ts +++ b/ts/classes.dcrouter.ts @@ -476,12 +476,6 @@ export class DcRouter { ...this.options.smartProxyConfig, routes, acme: acmeConfig, - // Tighter connection timeouts to prevent connection buildup - socketTimeout: 300_000, // 5 min idle socket timeout - inactivityTimeout: 600_000, // 10 min inactivity timeout - keepAliveInactivityMultiplier: 3, // keep-alive idle = 30 min (10min * 3) - extendedKeepAliveLifetime: 3_600_000, // keep-alive connections live max 1 hour - maxConnectionLifetime: 14_400_000, // absolute max connection lifetime 4 hours certStore: { loadAll: async () => { const keys = await this.storageManager.list('/proxy-certs/'); diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index e491bd2..d8a08f3 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/dcrouter', - version: '9.1.6', + version: '9.1.7', description: 'A multifaceted routing service handling mail and SMS delivery functions.' }