Commit 02b1b361 authored by rch@chromium.org's avatar rch@chromium.org

Remove v6 address from QUIC host lookups

BUG=

Review URL: https://chromiumcodereview.appspot.com/17518003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208041 0039d316-1c4b-4281-b951-d872f2087c98
parent be580998
......@@ -147,6 +147,16 @@ int QuicStreamFactory::Job::DoResolveHostComplete(int rv) {
if (rv != OK)
return rv;
// TODO(rch): remove this code!
AddressList::iterator it = address_list_.begin();
while (it != address_list_.end()) {
if (it->GetFamily() == ADDRESS_FAMILY_IPV6) {
it = address_list_.erase(it);
} else {
it++;
}
}
DCHECK(!factory_->HasActiveSession(host_port_proxy_pair_));
io_state_ = STATE_CONNECT;
return OK;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment