]> git.ipfire.org Git - thirdparty/cups.git/commit
cups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS 806/head
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 23 Oct 2023 07:40:44 +0000 (09:40 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 23 Oct 2023 07:40:44 +0000 (09:40 +0200)
commita1ed0941cab263efd1f413d29dc807b093506df1
tree127f7e89c3270dd0075ad8e8055469f113618493
parentdf56255beb028ec4cf8bd3266be54ebc4dbb3517
cups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS

The current timeout is not able to list all network devices if there are
many IPP services on mDNS (the tested number is 165 services).

Raising the timeout to 1s does not slow libcups if there are less
services (Avahi returns earlier) or if Avahi does not run on the system
(libcups cannot create an Avahi client in that case), and provides time
frame for getting reasonable amount of IPP services (big enterprise
servers will use permanent queues and printer profiles than mDNS).

Fixes #751
CHANGES.md
cups/dest.c