2011-09-08 06:33:12 -04:00
|
|
|
$OpenBSD: patch-scheduler_ipp_c,v 1.7 2011/09/08 10:33:12 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-09-08 06:33:12 -04:00
|
|
|
--- scheduler/ipp.c.orig Mon Jun 13 22:45:23 2011
|
|
|
|
+++ scheduler/ipp.c Fri Sep 2 09:33:11 2011
|
|
|
|
@@ -5734,7 +5734,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)
|