commit | b74550655a3d5eb5deebd86b692541994efe63bb | [log] [tgz] |
---|---|---|
author | pmarks <pmarks@google.com> | Wed Dec 17 19:00:42 2014 -0800 |
committer | Michael Lumish <mlumish@google.com> | Fri Dec 19 13:11:09 2014 -0800 |
tree | 95908d568619c3e1968b5daa1cdbf5d4751d1dd7 | |
parent | 40260c4d5b607a5808b7e48511baa732b70468fc [diff] |
gRPC: Avoid AF_INET6 sockets when the ::1 loopback address doesn't exist. On Linux with disable_ipv6=1, we can create sockets bound to [::]:port, yet connecting to that address triggers an Unreachable error. Since IPv6 is useless on such machines, it's cleaner to turn it off than expose users to a half-broken state. Change on 2014/12/17 by pmarks <pmarks@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82387437