]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Guido Serassio <serassio@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 7 Jun 2009 11:57:31 +0000 (23:57 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 7 Jun 2009 11:57:31 +0000 (23:57 +1200)
commitc49c863e5eac268cbbc8f7901b49312a96e0c588
tree1a096a298df08f8618514a0ed6c6c5ab198ad893
parent51d81719f55de6b9ac14ed1ea447ea76f3c7de8e
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Fix improper access permissions to registry and DNS parsing from registry

- RegOpenKey() always try to open registry keys in full control mode, even if not needed.
  This could make Squid to fail when running as a non privileged user. RegOpenKeyEx() allow to
  specify only the needed priviledge and now is used instead.

- When parsing DNS setting into registry, a fixed size loop was used. Now the loop count is
  dynamic.
src/WinSvc.cc
src/dns_internal.cc