SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
print/cups/patches/patch-backend_ipp_c
Normal file
24
print/cups/patches/patch-backend_ipp_c
Normal file
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
@@ -661,7 +661,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...
|
||||
@@ -2511,7 +2511,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);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue