From: Zdenek Dohnal Date: Tue, 21 May 2024 13:04:26 +0000 (+0200) Subject: cups/dest.c: Raise timeout for _CUPS_DNSSD_GET_DESTS X-Git-Tag: v2.4.9~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eefe2c1f30909d9c6c8537a04a93f4bd7c30fa58;p=thirdparty%2Fcups.git cups/dest.c: Raise timeout for _CUPS_DNSSD_GET_DESTS Forgot to include in 2.4.8... fixes #751 for series 2.4.x. --- 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 */