[cups.bugs] [MOD] STR #3988: Downgrading the IPP backend to HTTP/1.0 can truncate the start of print jobs

Robert Bradley robert.bradley1 at gmail.com
Mon Dec 5 10:47:03 PST 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

In the case where the IPP backend is connecting to a print server that only
supports HTTP 1.0, the start of a print job may be lost.  This occurs when
the input is read from standard input.  Stdin is read in order to detect
when to start connecting to the server, but this data is then lost when
the fallback code writes this input to a temporary file.

The attached patch fixes this by explicitly writing this initial input to
the temporary file and updating the print job length accordingly.

Link: http://www.cups.org/str.php?L3988
Version: 1.5.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http10fallback-fix
Type: application/octet-stream
Size: 699 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20111205/cacb919c/attachment.obj>


More information about the cups mailing list