]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix apparent cupsd freeze with zombie clients (Issue #1264)
authorMichael R Sweet <msweet@msweet.org>
Wed, 14 May 2025 11:30:13 +0000 (07:30 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 14 May 2025 11:30:13 +0000 (07:30 -0400)
CHANGES.md
scheduler/client.c

index 5b78288259fdd172067165de00080ed044b6c297..3d5d9e8609323cd2661c46f3c42a78d16936da20 100644 (file)
@@ -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)
index e61f0500535c296bb7e4c19061967c51f94a1cac..f0349a6c91fd8832b4e81dad55868bff8220f4db 100644 (file)
@@ -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.