-
- Downloads
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
Showing
- Makefile 0 additions, 1 deletionMakefile
- build.json 0 additions, 1 deletionbuild.json
- src/core/iomgr/socket_utils_common_posix.c 36 additions, 1 deletionsrc/core/iomgr/socket_utils_common_posix.c
- src/core/iomgr/socket_utils_posix.h 10 additions, 0 deletionssrc/core/iomgr/socket_utils_posix.h
- test/core/echo/echo_test.c 1 addition, 1 deletiontest/core/echo/echo_test.c
- test/core/end2end/dualstack_socket_test.c 0 additions, 1 deletiontest/core/end2end/dualstack_socket_test.c
- test/core/util/ipv6.h 0 additions, 41 deletionstest/core/util/ipv6.h
- test/core/util/ipv6_posix.c 0 additions, 60 deletionstest/core/util/ipv6_posix.c
- vsprojects/vs2013/grpc_test_util.vcxproj 0 additions, 2 deletionsvsprojects/vs2013/grpc_test_util.vcxproj
Loading
Please register or sign in to comment