If you have a large number of cups printers, then scanning for print info can cause...
commitdb945095c304644c8a3c8fdb316fe862a10f9278
authorJeremy Allison <jra@samba.org>
Fri, 10 Oct 2008 18:53:09 +0000 (10 11:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:07:56 +0000 (15 18:07 +0200)
tree13462b3207a7625f56c4601d04bdf72ff6775ed9
parent000cfd62ecf3e6b49beca6411a102ae9488a49b6
If you have a large number of cups printers, then scanning for print info can cause a client to timeout
(it takes longer than 30 seconds to enumerate them). Make scanning for printers async with a callback
from the main loop. This fixes a bug that was irritating *me* :-).
Jeremy.
(cherry picked from commit d66f58ad1b5c7195ea09a55f733c6f6551f663c2)
source/include/proto.h
source/include/smb.h
source/param/loadparm.c
source/printing/load.c
source/printing/pcap.c
source/printing/print_cups.c