From 776d6ed22fc4ecc2c8d0b7191944185885285746 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 14 May 2025 07:30:13 -0400 Subject: [PATCH] Fix apparent cupsd freeze with zombie clients (Issue #1264) --- CHANGES.md | 1 + scheduler/client.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 5b78288259..3d5d9e8609 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,6 +14,7 @@ Changes in CUPS v2.4.13 (YYYY-MM-DD) - Fixed subscription issues in the scheduler and D-Bus notifier (Issue #1235) - Fixed support for IPP/PPD options with periods or underscores (Issue #1249) - Fixed parsing of real numbers in PPD compiler source files (Issue #1263) +- Fixed scheduler freezing with zombie clients (Issue #1264) Changes in CUPS v2.4.12 (2025-04-08) diff --git a/scheduler/client.c b/scheduler/client.c index e61f050053..f0349a6c91 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -463,7 +463,7 @@ cupsdCloseClient(cupsd_client_t *con) /* I - Client to close */ partial = 1; #endif /* HAVE_TLS */ - if (partial) + if (partial && !httpError(con->http)) { /* * Only do a partial close so that the encrypted client gets everything. -- 2.47.2