public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Samuel Rufinatscha <s.rufinatscha@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox-backup 1/1] http: adapt to new pool_max_idle_per_host option
Date: Mon,  7 Sep 2026 18:04:34 +0200	[thread overview]
Message-ID: <20260907160434.262678-3-s.rufinatscha@proxmox.com> (raw)
In-Reply-To: <20260907160434.262678-1-s.rufinatscha@proxmox.com>

Keep the default pooling behavior for the existing PBS HTTP clients.

Signed-off-by: Samuel Rufinatscha <s.rufinatscha@proxmox.com>
---
 src/api2/node/subscription.rs | 1 +
 src/tools/mod.rs              | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/api2/node/subscription.rs b/src/api2/node/subscription.rs
index fd796c456..e51802b6b 100644
--- a/src/api2/node/subscription.rs
+++ b/src/api2/node/subscription.rs
@@ -55,6 +55,7 @@ fn check_and_write_subscription(key: String, server_id: String) -> Result<(), Er
         proxy_config,
         user_agent: Some(DEFAULT_USER_AGENT_STRING.to_string()),
         tcp_keepalive: Some(PROXMOX_BACKUP_TCP_KEEPALIVE_TIME),
+        pool_max_idle_per_host: None,
     });
 
     let info = proxmox_subscription::check::check_subscription(
diff --git a/src/tools/mod.rs b/src/tools/mod.rs
index ab624d7a6..198d45f10 100644
--- a/src/tools/mod.rs
+++ b/src/tools/mod.rs
@@ -31,6 +31,7 @@ pub fn pbs_simple_http(proxy_config: Option<ProxyConfig>) -> Client {
         proxy_config,
         user_agent: Some(DEFAULT_USER_AGENT_STRING.to_string()),
         tcp_keepalive: Some(PROXMOX_BACKUP_TCP_KEEPALIVE_TIME),
+        pool_max_idle_per_host: None,
     };
 
     Client::with_options(options)
-- 
2.47.3





      parent reply	other threads:[~2026-09-07 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07 16:04 [PATCH proxmox{,-backup} 0/2] fix #7948: acme: disable connection pooling for certificate renewal Samuel Rufinatscha
2026-09-07 16:04 ` [PATCH proxmox 1/1] fix #7948: acme: disable HTTP connection pooling Samuel Rufinatscha
2026-09-07 16:04 ` Samuel Rufinatscha [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260907160434.262678-3-s.rufinatscha@proxmox.com \
    --to=s.rufinatscha@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal