]> git.ipfire.org Git - thirdparty/cups.git/commit
cups/dest.c: Raise timeout _CUPS_DNSSD_GET_DESTS
authorzdohnal <zdohnal@redhat.com>
Wed, 25 Oct 2023 06:07:43 +0000 (08:07 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Oct 2023 06:07:43 +0000 (08:07 +0200)
commit082c5ae12a72889312452716efed3cf8833e3518
treefe6dd077ce4d4c5405ce4f216ff2b85314c5bf85
parent2001242856ee8fa4c479b2357ce635eb8e819e48
parenta1ed0941cab263efd1f413d29dc807b093506df1
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