2010-11-12 02:09:00 -05:00
|
|
|
$OpenBSD: patch-scheduler_ipp_c,v 1.5 2010/11/12 07:09:00 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.
|
|
|
|
|
2010-11-12 02:09:00 -05:00
|
|
|
--- scheduler/ipp.c.orig Wed Oct 6 22:07:44 2010
|
|
|
|
+++ scheduler/ipp.c Fri Nov 12 07:31:19 2010
|
|
|
|
@@ -5235,7 +5235,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)
|