From: Michael R Sweet Date: Wed, 4 Jan 2017 22:23:29 +0000 (-0500) Subject: Add reporting of HTTP state (as well as status) in cupsdReadClient, in hopes of X-Git-Tag: v2.2.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884b7ed153bcb6fd2fd85f4b9e34d632e82b122c;p=thirdparty%2Fcups.git Add reporting of HTTP state (as well as status) in cupsdReadClient, in hopes of identifying why two users are experiencing continuous 100-continues after a client disconnects after an authentication challenge. --- diff --git a/scheduler/client.c b/scheduler/client.c index 20ccf11a9a..c0dc22a104 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -1,7 +1,7 @@ /* * Client routines for the CUPS scheduler. * - * Copyright 2007-2015 by Apple Inc. + * Copyright 2007-2017 by Apple Inc. * Copyright 1997-2007 by Easy Software Products, all rights reserved. * * This file contains Kerberos support code, copyright 2006 by @@ -812,7 +812,7 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */ * Handle new transfers... */ - cupsdLogClient(con, CUPSD_LOG_DEBUG, "Read: status=%d", status); + cupsdLogClient(con, CUPSD_LOG_DEBUG, "Read: status=%d, state=%d", status, httpGetState(con->http)); if (status == HTTP_STATUS_OK) {