[cups.bugs] [MOD] STR #3987: Compatibility with Livebox2 router/print server

Robert Bradley robert.bradley1 at gmail.com
Mon Dec 5 10:41:50 PST 2011


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

[STR New]

As previously noted in STR #3967, the Orange France Livebox2 router/print
server (rebranded SAGEM f at st 3504) has many problems when used with CUPS
1.5, due to a rather loose interpretation of the HTTP/IPP specifications. 
The main problems are:

- HTTP/1.1 "Transfer-Encoding: chunked" is not supported.
- The server does not return IPP_UNSUPPORTED_VERSION for IPP versions
greater than 1.0.  Instead, the server responds as IPP version 1.0,
similarly to the way HTTP works.

The attached patch works around both these problems by adding an automatic
downgrade routine, and a new backend argument "nohttpchunking=1" for
forcibly disabling chunking in HTTP 1.1.

This work also uncovered a bug in the HTTP/1.0 downgrade code.  The fix is
included in the patch, but this bug will also be filed separately.

Link: http://www.cups.org/str.php?L3987
Version: 1.5.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-chunking-disable
Type: application/octet-stream
Size: 4440 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20111205/6aae0a47/attachment.obj>


More information about the cups-devel mailing list