Windows: Avoid unnecessary DNS lookups
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 11 Aug 2009 12:43:53 +0000 (08:43 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 11 Aug 2009 15:37:04 +0000 (08:37 -0700)
commitd6071aa6e5f93cf9f9dd42c0c49d56416cfdabbe
treebc13494fc77a5b1ceec3e576d54fcabcb4cc2b4f
parent8cd1dc27dc16349b94c66eec721191d5dff29dab
Windows: Avoid unnecessary DNS lookups

Windows will attempt to open connections to a broad
range of pipe service (share) names which do not contain
a dot in them.  Attempts to search for these names as
cell names in DNS result in timeouts and sluggish behavior
when browsing \\AFS in the Explorer Shell.

To avoid this problem, do not perform a DNS lookup for a
cellname that doesn't not contain a dot in it.

LICENSE MIT

Reviewed-on: http://gerrit.openafs.org/302
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_config.c