From: Bernd Krumböck <[email protected]>
Fix compression in ipp backend (http://www.cups.org/str.php?L4181) Signed-off-by: Bernd Krumböck <[email protected]> --- diff -urN a/net/cups/patches/200-str4181.patch b/net/cups/patches/200-str4181.patch --- a/net/cups/patches/200-str4181.patch 1970-01-01 01:00:00.000000000 +0100 +++ b/net/cups/patches/200-str4181.patch 2012-11-06 17:30:57.000000000 +0100 @@ -0,0 +1,13 @@ +--- cups-1.5.4/backend/ipp.c (revision 10596) ++++ cups-1.5.4/backend/ipp.c (working copy) +@@ -1578,6 +1578,10 @@ + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, + "document-format", NULL, document_format); + ++ if (compression) ++ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, ++ "compression", NULL, compression); ++ + fprintf(stderr, "DEBUG: Sending file %d using chunking...\n", i + 1); + http_status = cupsSendRequest(http, request, resource, 0); + if (http_status == HTTP_CONTINUE && request->state == IPP_DATA) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
