]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - cups/patches/012_cups-driverd-timeout.patch
libtevent: Update to version 0.9.30
[people/arne_f/ipfire-3.x.git] / cups / patches / 012_cups-driverd-timeout.patch
CommitLineData
1f9b7ef8
KB
1diff -up cups-1.5.0/scheduler/ipp.c.driverd-timeout cups-1.5.0/scheduler/ipp.c
2--- cups-1.5.0/scheduler/ipp.c.driverd-timeout 2011-10-10 17:03:41.801690962 +0100
3+++ cups-1.5.0/scheduler/ipp.c 2011-10-10 17:03:41.861689834 +0100
4@@ -5723,7 +5723,7 @@ copy_model(cupsd_client_t *con, /* I -
f92713d3
SS
5 close(temppipe[1]);
6
7 /*
8- * Wait up to 30 seconds for the PPD file to be copied...
9+ * Wait up to 70 seconds for the PPD file to be copied...
10 */
11
12 total = 0;
1f9b7ef8 13@@ -5743,7 +5743,7 @@ copy_model(cupsd_client_t *con, /* I -
f92713d3
SS
14 FD_SET(temppipe[0], &input);
15 FD_SET(CGIPipes[0], &input);
16
17- timeout.tv_sec = 30;
18+ timeout.tv_sec = 70;
19 timeout.tv_usec = 0;
20
21 if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)