openbsd-ports/print/cups/patches/patch-scheduler_ipp_c
2011-10-15 07:20:43 +00:00

26 lines
811 B
Plaintext

$OpenBSD: patch-scheduler_ipp_c,v 1.8 2011/10/15 07:20:43 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 Jun 13 22:45:23 2011
+++ scheduler/ipp.c Sat Oct 15 09:17:36 2011
@@ -5714,7 +5714,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;
@@ -5734,7 +5734,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)