If you have a large number of cups printers, then scanning for print info can cause...
authorJeremy Allison <jra@samba.org>
Fri, 10 Oct 2008 18:55:14 +0000 (11:55 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 10 Oct 2008 18:55:14 +0000 (11:55 -0700)
commiteada8f8abe6e4b770b7a2e279fc897a4272b6fa5
tree2cb91cd91cb12005b25b531e9ed821f153f2a916
parent5b75aa34069d488d23e880393d4280cbe85cc5c6
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.
source3/include/proto.h
source3/include/smb.h
source3/param/loadparm.c
source3/printing/load.c
source3/printing/pcap.c
source3/printing/print_cups.c