Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: net/socket/transport_client_socket_pool.cc

Issue 2895633002: Fix comment about "happy eyeballs" IPv4 fallback (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/transport_client_socket_pool.cc
diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc
index 5d968f1284033b958ad5458cbe6420b1797f5110..c0279e1c67025aafe14e1efaf74b9ebcb2207e1e 100644
--- a/net/socket/transport_client_socket_pool.cc
+++ b/net/socket/transport_client_socket_pool.cc
@@ -304,9 +304,9 @@ int TransportConnectJob::DoTransportConnect() {
addresses_, std::move(socket_performance_watcher), net_log().net_log(),
net_log().source());
- // If the list contains IPv6 and IPv4 addresses, the first address will
- // be IPv6, and the IPv4 addresses will be tried as fallback addresses,
- // per "Happy Eyeballs" (RFC 6555).
+ // If the list contains IPv6 and IPv4 addresses, and the first address
+ // is IPv6, the IPv4 addresses will be tried as fallback addresses, per
+ // "Happy Eyeballs" (RFC 6555).
bool try_ipv6_connect_with_ipv4_fallback =
addresses_.front().GetFamily() == ADDRESS_FAMILY_IPV6 &&
!AddressListOnlyContainsIPv6(addresses_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698