[HIGH] STR #4045: ipp backend returns "printer is not responding" when connecting via SSL to cups on Red Hat Linux

Francis Beaumier <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

On Mac OS X 10.7 and Mac OS X 10.8, I am unable to print to an address of
https://printers.example.com:631/printers/printername where 
printers.example.com is running CUPS 1.3.7 on Red Hat Linux and requires
SSL + Basic Authentication.  The error message in Mac OS X is "printer is
not responding."  

I traced this down to line 4165 in http.c.  It knows about the case where
the non-fatal error "errSSLWouldBlock" occurs but doesn't handle it right.
 I added:

error = noErr;
done = 1;

before the break; and was able to print.  See the attached file.

Link: http://www.cups.org/str.php?L4045
Version: 1.5.2
Attachment: http://www.cups.org/strfiles/4045/http.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.