~vcs-imports/putty/master

Viewing all changes in revision 5529.

  • Committer: Simon Tatham
  • Date: 2019-07-28 14:42:30 UTC
  • Revision ID: git-v1:de78556689b7c5402e69d5ee59879063da56a2e5
Use sk_namelookup to get FQDN host name.

It's silly to use the higher-level name_lookup(), because the way in
which they differ is that name_lookup() allows DNS lookups to be
deferred to the other side of a network proxy over which your
connection is travelling - and when you're trying to find out your own
host name for use as a database key, there's no _connection_ involved
at all, and no potential proxy either.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: