Descriptionnet: make Dial and Listen behavior consistent across over platforms
This CL changes the behavior of Dial and Listen API family.
Previous Dial and Listen allow a combo of "tcp6" and IPv4 or IPv6
IPv4-mapped address as its argument, but it also makes slightly
different behaviors between Linux and other platforms. This CL fixes
such differences across over platforms by tweaking IP-level socket
option IPV6_V6ONLY. Consequently new Dial and Listen API family will
reject arguments consists of "tcp6" and IPv4 or IPv6 IPv4-mapped
address.
This CL also adds a bit clarified unicast listener tests.
Fixes issue 2581.
Patch Set 1 : diff -r 5df6a5e63bb9 https://go.googlecode.com/hg/ #Patch Set 2 : diff -r 5338874648c7 https://go.googlecode.com/hg/ #
Total comments: 6
Patch Set 3 : diff -r be26a03f6be9 https://go.googlecode.com/hg/ #
Total comments: 9
Patch Set 4 : diff -r ffde178ab122 https://go.googlecode.com/hg/ #
Total comments: 14
Patch Set 5 : diff -r 50adb6a9e76c https://go.googlecode.com/hg/ #
Total comments: 2
Patch Set 6 : diff -r ea5cd2b9ca6c https://go.googlecode.com/hg/ #
MessagesTotal messages: 25
|