(Issue #423)
- Fixed printing of jobs with job name longer than 255 chars on older printers
(Issue #644)
-- Really backport fix for Issue #742
+- Really backported fix for Issue #742
+- Fixed "Upgrade" header handling when there is no TLS support (Issue #775)
- Fixed memory leak when unloading a job (Issue #813)
- Fixed memory leak when creating color profiles (Issue #815)
- Fixed crash in `scan_ps()` if incoming argument is NULL (Issue #831)
else
http->status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED;
}
-
-#ifdef HAVE_TLS
else if (status == HTTP_STATUS_UPGRADE_REQUIRED)
{
/*
DEBUG_puts("2cupsGetResponse: Need encryption...");
+#ifdef HAVE_TLS
if (!httpReconnect2(http, 30000, NULL))
httpEncryption(http, HTTP_ENCRYPTION_REQUIRED);
- }
+
+#else
+ http->status = HTTP_STATUS_CUPS_PKI_ERROR;
#endif /* HAVE_TLS */
+ }
}
if (response)