From: Michael R Sweet Date: Wed, 14 May 2025 11:25:55 +0000 (-0400) Subject: Fix apparent cupsd freeze with zombie clients (Issue #1264) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5ebe3f451d88524a2023017b08abeab5f9c46a;p=thirdparty%2Fcups.git Fix apparent cupsd freeze with zombie clients (Issue #1264) --- diff --git a/scheduler/client.c b/scheduler/client.c index bf1b0d1ed3..dd98c6b445 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -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.