Blame cups-driverd-timeout.patch
|
Tim Waugh |
245606 |
diff -up cups-1.3.7/scheduler/ipp.c.driverd-timeout cups-1.3.7/scheduler/ipp.c
|
|
Tim Waugh |
245606 |
--- cups-1.3.7/scheduler/ipp.c.driverd-timeout 2008-07-15 13:40:51.000000000 +0100
|
|
Tim Waugh |
245606 |
+++ cups-1.3.7/scheduler/ipp.c 2008-07-15 13:40:51.000000000 +0100
|
|
Tim Waugh |
245606 |
@@ -4293,7 +4293,7 @@ copy_model(cupsd_client_t *con, /* I -
|
|
Tim Waugh |
18cfbf |
close(temppipe[1]);
|
|
Tim Waugh |
18cfbf |
|
|
Tim Waugh |
18cfbf |
/*
|
|
Tim Waugh |
18cfbf |
- * Wait up to 30 seconds for the PPD file to be copied...
|
|
Tim Waugh |
18cfbf |
+ * Wait up to 70 seconds for the PPD file to be copied...
|
|
Tim Waugh |
18cfbf |
*/
|
|
Tim Waugh |
18cfbf |
|
|
Tim Waugh |
18cfbf |
total = 0;
|
|
Tim Waugh |
245606 |
@@ -4315,7 +4315,7 @@ copy_model(cupsd_client_t *con, /* I -
|
|
Tim Waugh |
245606 |
FD_SET(temppipe[0], &input);
|
|
Tim Waugh |
245606 |
FD_SET(CGIPipes[0], &input);
|
|
Tim Waugh |
18cfbf |
|
|
Tim Waugh |
18cfbf |
- timeout.tv_sec = 30;
|
|
Tim Waugh |
18cfbf |
+ timeout.tv_sec = 70;
|
|
Tim Waugh |
18cfbf |
timeout.tv_usec = 0;
|
|
Tim Waugh |
18cfbf |
|
|
Tim Waugh |
245606 |
if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)
|