From c96b4c24a86c69d51b60360de67c8974b2d7cc0c Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 29 Dec 2012 18:00:00 +0000 Subject: [PATCH] cups: Fix ipp compression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix compression in ipp backend (http://www.cups.org/str.php?L4181) Signed-off-by: Bernd Krumböck Patchwork: http://patchwork.openwrt.org/patch/3071/ Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/packages@34930 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/cups/patches/200-str4181.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/cups/patches/200-str4181.patch diff --git a/net/cups/patches/200-str4181.patch b/net/cups/patches/200-str4181.patch new file mode 100644 index 000000000..c8e73f7a5 --- /dev/null +++ b/net/cups/patches/200-str4181.patch @@ -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)