]> granicus.if.org Git - curl/commit
KRB5: use given host name instead of reverse lookup'ed name
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 13:02:08 +0000 (15:02 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Apr 2010 13:02:08 +0000 (15:02 +0200)
commit5bd38b70ddcfb305fa6ee133827f35009eef4135
tree93093b788a1499635e7e0474de47f03d23ba2113
parent44f1bef6683ddc3fb268b0bca2e5eae314d69d23
KRB5: use given host name instead of reverse lookup'ed name

This code would previously use dns_entry->addr->ai_canonname
instead of the given host name, which caused us grief and
problems since not all our resolver options do the reverse lookup
and I would also guess that it caused problems with KRB5/GSS with
virtual name-based hosts. Now the host name from the URL is used.
lib/krb5.c