From eefe2c1f30909d9c6c8537a04a93f4bd7c30fa58 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Tue, 21 May 2024 15:04:26 +0200 Subject: [PATCH] cups/dest.c: Raise timeout for _CUPS_DNSSD_GET_DESTS Forgot to include in 2.4.8... fixes #751 for series 2.4.x. --- CHANGES.md | 4 ++-- cups/dest.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 908bf71f2d..5713f3c8da 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,8 @@ Changes in CUPS v2.4.9 (TBA) - Fixed searching for destinations in web ui (Issue #954) - Fixed TLS negotiation using OpenSSL with servers that require the TLS SNI extension. +- Really raised `cups_enum_dests()` timeout for listing available IPP printers + (Issue #751)... Changes in CUPS v2.4.8 (2024-04-26) @@ -19,8 +21,6 @@ Changes in CUPS v2.4.8 (2024-04-26) - Added support for PAM modules password-auth and system-auth (Issue #892) - Updated IPP Everywhere printer creation error reporting (Issue #347) - Updated and documented the MIME typing buffering limit (Issue #925) -- Raised `cups_enum_dests()` timeout for listing available IPP printers - (Issue #751) - Now report an error for temporary printer defaults with lpadmin (Issue #237) - Fixed mapping of PPD InputSlot, MediaType, and OutputBin values (Issue #238) - Fixed "document-unprintable-error" handling (Issue #391) diff --git a/cups/dest.c b/cups/dest.c index bedd4e1701..1c8bd67822 100644 --- a/cups/dest.c +++ b/cups/dest.c @@ -58,7 +58,7 @@ #endif /* __APPLE__ */ #ifdef HAVE_DNSSD -# define _CUPS_DNSSD_GET_DESTS 250 /* Milliseconds for cupsGetDests */ +# define _CUPS_DNSSD_GET_DESTS 1000 /* Milliseconds for cupsGetDests */ # define _CUPS_DNSSD_MAXTIME 50 /* Milliseconds for maximum quantum of time */ #else # define _CUPS_DNSSD_GET_DESTS 0 /* Milliseconds for cupsGetDests */ -- 2.47.2