Closed StefCoene closed 5 months ago
We could use the HTTP_STATUS_CUPS_PKI_ERROR
status code...
[2.4.x 5eb736d3b] Fix Upgrade header handling when there is no TLS support (Issue #775)
Not included in 2.5 and later since we require TLS support after 2.4.x...
Describe the bug When cups is compiled without TLS support (--without-tls) commands like cupsaccept loops forever. It also keeps flooding the cups server with requests. This is tested on an AIX and Ubuntu with a remote CUPS server compiled from the master branch.
To Reproduce Steps to reproduce the behavior:
Additional context My C code knowledge is very limited, but this patch solves the issue.
I tried to add a new status HTTP_STATUS_CUPS_ENCRYPTION_REQUIRED_CANCELED to proper handle the case, but I'm unable to get it working.
Stef