diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 14:41:40 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-07 14:41:40 +0000 |
commit | 69e6633595327cfc99037eedec0f64821cafc569 (patch) | |
tree | 25fc7b2e9db997e018dd127bbab18a6fd71fe0a9 /net/base/host_resolver.h | |
parent | c3d6b25093e1c915364e72f9c008e81972419f04 (diff) | |
download | chromium_src-69e6633595327cfc99037eedec0f64821cafc569.zip chromium_src-69e6633595327cfc99037eedec0f64821cafc569.tar.gz chromium_src-69e6633595327cfc99037eedec0f64821cafc569.tar.bz2 |
Revert 43826 - HostResolver now adds AI_CANONNAME to the hint flags if a requester needs the information.
Requests which want the canonical name should be treated differently from requests that do not for the same host in both the HostCache as well as in the HostResolver when combining multiple outstanding requests into a job.
The motivation for this is that Kerberos SPN's for a web server are typically generated using the canonical name of the server rather than a DNS alias (both Firefox and IE have this behavior).
BUG=29862
TEST=net_unittests
Review URL: http://codereview.chromium.org/1566012
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/1629005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/host_resolver.h')
-rw-r--r-- | net/base/host_resolver.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h index f91878e..8f7bd09 100644 --- a/net/base/host_resolver.h +++ b/net/base/host_resolver.h @@ -41,7 +41,6 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> { RequestInfo(const std::string& hostname, int port) : hostname_(hostname), address_family_(ADDRESS_FAMILY_UNSPECIFIED), - host_resolver_flags_(0), port_(port), allow_cached_response_(true), is_speculative_(false), @@ -62,13 +61,6 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> { address_family_ = address_family; } - HostResolverFlags host_resolver_flags() const { - return host_resolver_flags_; - } - void set_host_resolver_flags(HostResolverFlags host_resolver_flags) { - host_resolver_flags_ = host_resolver_flags; - } - bool allow_cached_response() const { return allow_cached_response_; } void set_allow_cached_response(bool b) { allow_cached_response_ = b; } @@ -88,9 +80,6 @@ class HostResolver : public base::RefCountedThreadSafe<HostResolver> { // The address family to restrict results to. AddressFamily address_family_; - // Flags for the address. - HostResolverFlags host_resolver_flags_; - // The port number to set in the result's sockaddrs. int port_; |