cups/cups-str4194.patch
2012-10-01 12:28:11 +02:00

25 lines
759 B
Diff

From a94dbce56edeebbd3631ab6e734cf88248a41065 Mon Sep 17 00:00:00 2001
From: mike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Date: Mon, 1 Oct 2012 02:10:26 +0000
Subject: [PATCH] The IPP backend could get stuck in an endless loop on
certain network errors (STR #4194)
git-svn-id: http://svn.easysw.com/public/cups/trunk@10623 7a7537e8-13f0-0310-91df-b6672ffda945
---
diff --git a/backend/ipp.c b/backend/ipp.c
index a53929e..b509996 100644
--- a/backend/ipp.c
+++ b/backend/ipp.c
@@ -952,6 +952,8 @@ main(int argc, /* I - Number of command-line args */
_cupsLangPrintFilter(stderr, "ERROR",
_("Unable to get printer status."));
sleep(10);
+
+ httpReconnect(http);
}
ippDelete(supported);
--
1.7.11.4