public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox{,-backup} 0/2] fix #7948: acme: disable connection pooling for certificate renewal
@ 2026-09-07 16:04 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 ` [PATCH proxmox-backup 1/1] http: adapt to new pool_max_idle_per_host option Samuel Rufinatscha
  0 siblings, 2 replies; 3+ messages in thread
From: Samuel Rufinatscha @ 2026-09-07 16:04 UTC (permalink / raw)
  To: pbs-devel

ACME certificate renewal can fail [0] after an order has been finalized
if the CA closes the HTTP/1.1 connection during the polling delay.
Reusing that stale connection then causes the task to fail with:

"TASK ERROR: client error (SendRequest)"

Makes the maximum number of idle connections configurable in the shared
HTTP client and disables connection pooling for ACME requests.

Testing:

The issue was reproduced using Pebble and a proxy which drops a reused
connection after order finalization. The unpatched PBS build failed with
SendRequest, while the patched build opened a new connection for the
subsequent poll and completed certificate issuance successfully.

Notes for the maintainer:

* adds a public field to HttpOptions
* both PBS and PDM require the updated crates

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=7948

proxmox:

Samuel Rufinatscha (1):
  fix #7948: acme: disable HTTP connection pooling

 proxmox-acme/src/async_client.rs  | 1 +
 proxmox-http/src/client/simple.rs | 9 +++++++--
 proxmox-http/src/http_options.rs  | 3 +++
 3 files changed, 11 insertions(+), 2 deletions(-)


proxmox-backup:

Samuel Rufinatscha (1):
  http: adapt to new pool_max_idle_per_host option

 src/api2/node/subscription.rs | 1 +
 src/tools/mod.rs              | 1 +
 2 files changed, 2 insertions(+)


Summary over all repositories:
  5 files changed, 13 insertions(+), 2 deletions(-)

-- 
Generated by git-murpp 0.8.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-07 16:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH proxmox-backup 1/1] http: adapt to new pool_max_idle_per_host option Samuel Rufinatscha

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