]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cups/dest.c: Raise timeout for _CUPS_DNSSD_GET_DESTS
authorZdenek Dohnal <zdohnal@redhat.com>
Tue, 21 May 2024 13:04:26 +0000 (15:04 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Tue, 21 May 2024 13:06:48 +0000 (15:06 +0200)
Forgot to include in 2.4.8... fixes #751 for series 2.4.x.

CHANGES.md
cups/dest.c

index 908bf71f2d5b7886edac3d8bacb59e17a9672be9..5713f3c8da06094511fb63b08f550aa9e3a27752 100644 (file)
@@ -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)
index bedd4e1701ade65b754b96236a9b0939786a701d..1c8bd6782239ed9c3d61db4d14148cad96e89e06 100644 (file)
@@ -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 */