]> Cypherpunks repositories - gostls13.git/commit
net: consolidate sockaddrToAddr functions
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 4 Aug 2014 21:10:46 +0000 (06:10 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 4 Aug 2014 21:10:46 +0000 (06:10 +0900)
commit5c055e74d0b04ca863380c5785ca0aadda9ebc5e
tree10e9a641a6ae748273b4ab763e1e14a741a00160
parentfdaeec580ffb554b7314f814eaa2353459b1e400
net: consolidate sockaddrToAddr functions

This CL removes sockaddrToAddr functions from socket creation
operations to avoid the bug like issue 7183.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/105100046
src/pkg/net/fd_unix.go
src/pkg/net/fd_windows.go
src/pkg/net/iprawsock_posix.go
src/pkg/net/ipsock_posix.go
src/pkg/net/sock_posix.go
src/pkg/net/tcpsock_posix.go
src/pkg/net/udpsock_posix.go
src/pkg/net/unixsock_posix.go