SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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);