]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Really fix it.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 23 Oct 2015 19:58:07 +0000 (19:58 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 23 Oct 2015 19:58:07 +0000 (19:58 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12918 a1ca3aef-8c08-0410-bb20-df032aa958be

scheduler/client.c

index 7e23bdb3b0c9551cf25a1d3091454fd612482dfe..c0d6eec744f0b70f5488a907247dbee285e23b39 100644 (file)
@@ -1831,8 +1831,11 @@ cupsdReadClient(cupsd_client_t *con)     /* I - Client to read from */
              }
            }
          }
-          else
-            break;
+          else if (httpGetState(con->http) == HTTP_STATE_PUT_RECV)
+          {
+            cupsdCloseClient(con);
+            return;
+          }
         }
        while (httpGetState(con->http) == HTTP_STATE_PUT_RECV && httpGetReady(con->http));