2023-08-16 22:26:55 +00:00
|
|
|
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
|
2024-05-26 03:08:12 +00:00
|
|
|
@@ -677,7 +677,7 @@ main(int argc, /* I - Number of command-line args
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
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...
|
2024-05-26 03:08:12 +00:00
|
|
|
@@ -2541,7 +2541,7 @@ monitor_printer(
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
|