openbsd-ports/print/cups/patches/patch-scheduler_ipp_c
2013-03-19 08:49:14 +00:00

26 lines
812 B
Plaintext

$OpenBSD: patch-scheduler_ipp_c,v 1.12 2013/03/19 08:49:14 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 Mar 11 19:44:36 2013
+++ scheduler/ipp.c Tue Mar 19 08:15:45 2013
@@ -4556,7 +4556,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;
@@ -4576,7 +4576,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)