- The USB backend now runs as root (Issue #121)
- Added pkg-config file for libcups (Issue #122)
- Fixed a PPD memory leak caused by emulator definitions (Issue #124)
+- Added several features and improvements to `ipptool` (Issue #153)
- The scheduler now includes the `[Job N]` prefix for job log messages, even
when using syslog logging (Issue #154)
- Added support for locales using the GB18030 character set (Issue #159)
http_encryption_t encryption; /* Encryption for connection */
int family; /* Address family */
ipptool_output_t output; /* Output mode */
+ int repeat_on_busy; /* Repeat tests on server-error-busy */
int stop_after_include_error;
/* Stop after include errors? */
double timeout; /* Timeout for connection */
}
break;
+ case 'R' : /* Repeat on server-error-busy */
+ data.repeat_on_busy = 1;
+ break;
+
case 'S' : /* Encrypt with SSL */
#ifdef HAVE_TLS
data.encryption = HTTP_ENCRYPT_ALWAYS;
* values...
*/
+ if (ippGetStatusCode(response) == IPP_STATUS_ERROR_BUSY && data->repeat_on_busy)
+ {
+ // Repeat on a server-error-busy status code...
+ status_ok = 1;
+ repeat_test = 1;
+ }
+
for (i = 0, status_ok = 0; i < data->num_statuses; i ++)
{
if (data->statuses[i].if_defined &&
_cupsLangPuts(stderr, _("-I Ignore errors"));
_cupsLangPuts(stderr, _("-L Send requests using content-length"));
_cupsLangPuts(stderr, _("-P filename.plist Produce XML plist to a file and test report to standard output"));
+ _cupsLangPuts(stderr, _("-R Repeat tests on server-error-busy"));
_cupsLangPuts(stderr, _("-S Test with encryption using HTTPS"));
_cupsLangPuts(stderr, _("-T seconds Set the receive/send timeout in seconds"));
_cupsLangPuts(stderr, _("-V version Set default IPP version"));