2011-06-28 07:52:38 -04:00
|
|
|
$OpenBSD: patch-scheduler_ipp_c,v 1.6 2011/06/28 11:52:38 ajacoutot Exp $
|
2010-03-31 12:20:02 -04:00
|
|
|
|
|
|
|
Increase timeout for the PPD file to be copied so that it doesn't fail
|
|
|
|
on low-end configurations.
|
|
|
|
|
2011-06-28 07:52:38 -04:00
|
|
|
--- scheduler/ipp.c.orig Tue Feb 15 00:47:29 2011
|
|
|
|
+++ scheduler/ipp.c Tue Jun 28 13:32:08 2011
|
|
|
|
@@ -5252,7 +5252,7 @@ copy_model(cupsd_client_t *con, /* I - Client connect
|
2010-03-31 12:20:02 -04:00
|
|
|
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)
|