Blame SOURCES/cups-driverd-timeout.patch
|
|
5e7041 |
diff -up cups-1.5.0/scheduler/ipp.c.driverd-timeout cups-1.5.0/scheduler/ipp.c
|
|
|
5e7041 |
--- cups-1.5.0/scheduler/ipp.c.driverd-timeout 2011-10-10 17:03:41.801690962 +0100
|
|
|
5e7041 |
+++ cups-1.5.0/scheduler/ipp.c 2011-10-10 17:03:41.861689834 +0100
|
|
|
5e7041 |
@@ -5723,7 +5723,7 @@ copy_model(cupsd_client_t *con, /* I -
|
|
|
5e7041 |
close(temppipe[1]);
|
|
|
5e7041 |
|
|
|
5e7041 |
/*
|
|
|
5e7041 |
- * Wait up to 30 seconds for the PPD file to be copied...
|
|
|
5e7041 |
+ * Wait up to 70 seconds for the PPD file to be copied...
|
|
|
5e7041 |
*/
|
|
|
5e7041 |
|
|
|
5e7041 |
total = 0;
|
|
|
5e7041 |
@@ -5743,7 +5743,7 @@ copy_model(cupsd_client_t *con, /* I -
|
|
|
5e7041 |
FD_SET(temppipe[0], &input);
|
|
|
5e7041 |
FD_SET(CGIPipes[0], &input);
|
|
|
5e7041 |
|
|
|
5e7041 |
- timeout.tv_sec = 30;
|
|
|
5e7041 |
+ timeout.tv_sec = 70;
|
|
|
5e7041 |
timeout.tv_usec = 0;
|
|
|
5e7041 |
|
|
|
5e7041 |
if ((i = select(maxfd, &input, NULL, NULL, &timeout)) < 0)
|