openbsd-ports/print/cups/patches/patch-scheduler_ipp_c
2012-05-17 10:11:23 +00:00

26 lines
812 B
Plaintext

$OpenBSD: patch-scheduler_ipp_c,v 1.10 2012/05/17 10:11:23 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 Feb 13 21:42:51 2012
+++ scheduler/ipp.c Wed May 16 08:17:43 2012
@@ -5716,7 +5716,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;
@@ -5736,7 +5736,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)