24 lines
818 B
Text
24 lines
818 B
Text
Increase timeout for the PPD file to be copied so that it doesn't fail
|
|
on low-end configurations.
|
|
|
|
Index: backend/ipp.c
|
|
--- backend/ipp.c.orig
|
|
+++ backend/ipp.c
|
|
@@ -677,7 +677,7 @@ main(int argc, /* I - Number of command-line args
|
|
|
|
http = httpConnect2(hostname, port, addrlist, AF_UNSPEC, cupsEncryption(), 1,
|
|
0, NULL);
|
|
- httpSetTimeout(http, 30.0, timeout_cb, NULL);
|
|
+ httpSetTimeout(http, 90.0, timeout_cb, NULL);
|
|
|
|
/*
|
|
* See if the printer supports SNMP...
|
|
@@ -2541,7 +2541,7 @@ monitor_printer(
|
|
|
|
http = httpConnect2(monitor->hostname, monitor->port, NULL, AF_UNSPEC,
|
|
monitor->encryption, 1, 0, NULL);
|
|
- httpSetTimeout(http, 30.0, timeout_cb, NULL);
|
|
+ httpSetTimeout(http, 90.0, timeout_cb, NULL);
|
|
if (username[0])
|
|
cupsSetUser(username);
|
|
|