]> 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:25:55 +0000 (07:25 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 14 May 2025 11:25:55 +0000 (07:25 -0400)
scheduler/client.c

index bf1b0d1ed373a5bbb2799b11a866f46bb31dbb4b..dd98c6b445c06ef45532a4bc8b71af3d4e05cbe1 100644 (file)
@@ -448,7 +448,7 @@ cupsdCloseClient(cupsd_client_t *con)       /* I - Client to close */
     if (httpIsEncrypted(con->http))
       partial = 1;
 
-    if (partial)
+    if (partial && !httpGetError(con->http))
     {
      /*
       * Only do a partial close so that the encrypted client gets everything.