cups: Fix endless loop
authorGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 18:00:01 +0000 (18:00 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 18:00:01 +0000 (18:00 +0000)
Fix endless loop in ipp backend (http://www.cups.org/str.php?L4194)

Signed-off-by: Bernd Krumböck <krumboeck@universalnet.at>
Patchwork: http://patchwork.openwrt.org/patch/3070/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34931

net/cups/patches/210-str4194.patch [new file with mode: 0644]

diff --git a/net/cups/patches/210-str4194.patch b/net/cups/patches/210-str4194.patch
new file mode 100644 (file)
index 0000000..6784213
--- /dev/null
@@ -0,0 +1,11 @@
+--- cups-1.5.4/backend/ipp.c   (revision 10619)
++++ cups-1.5.4/backend/ipp.c   (working copy)
+@@ -952,6 +952,8 @@
+       _cupsLangPrintFilter(stderr, "ERROR",
+                            _("Unable to get printer status."));
+         sleep(10);
++
++      httpReconnect(http);
+       }
+
+       ippDelete(supported);