]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed some restart bugs with dnsservers. Because of switch to
authorwessels <>
Wed, 29 Jul 1998 09:57:37 +0000 (09:57 +0000)
committerwessels <>
Wed, 29 Jul 1998 09:57:37 +0000 (09:57 +0000)
commit6a78c18e34cfeeb6ec4e045145dd3d1c32c1e773
treef42901dfca2514f5e4452a094e487fb5ac47577c
parente8d6569c17c239f5c0c9f56e5c8e4508d398aad0
Fixed some restart bugs with dnsservers.   Because of switch to
events, we were calling the dnsShutdownServers func AFTER the
new dnsservers had been allocated.  Using a non-NULL callback
data when registering the event fixes this.

Also added fatal() checks for too few running dnsservers and too many
queued IP/FQDN lookups.
src/dns.cc
src/fqdncache.cc
src/ipcache.cc