ajacoutot e90b27a568 Major update to CUPS 1.6.1.
This package is now split between -main (the bloat) and -libs (i.e.
cups-libs; which only contains the base libraries which have no
external deps).
Most filters have moved to cups-filters, the split was needed because
cups depends on cups-filters which depends on cups

The nice side-effect is that this will simplify lots of things in tree.
2012-08-04 14:37:04 +00:00

26 lines
812 B
Plaintext

$OpenBSD: patch-scheduler_ipp_c,v 1.11 2012/08/04 14:37:04 ajacoutot Exp $
Increase timeout for the PPD file to be copied so that it doesn't fail
on low-end configurations.
--- scheduler/ipp.c.orig Mon May 21 19:40:22 2012
+++ scheduler/ipp.c Thu Jul 26 10:00:31 2012
@@ -4441,7 +4441,7 @@ copy_model(cupsd_client_t *con, /* I - Client connect
close(temppipe[1]);
/*
- * Wait up to 30 seconds for the PPD file to be copied...
+ * Wait up to 90 seconds for the PPD file to be copied...
*/
total = 0;
@@ -4461,7 +4461,7 @@ copy_model(cupsd_client_t *con, /* I - Client connect
FD_SET(temppipe[0], &input);
FD_SET(CGIPipes[0], &input);
- timeout.tv_sec = 30;
+ timeout.tv_sec = 90;
timeout.tv_usec = 0;
if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)