Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6851)

Issue 105100046: code review 105100046: net: consolidate sockaddrToAddr functions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by mikio
Modified:
9 years, 8 months ago
Reviewers:
bradfitz
CC:
golang-codereviews, bradfitz
Visibility:
Public.

Description

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

Patch Set 1 : diff -r 30307cc8bef2 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 2 : diff -r 6b696a34e0af https://code.google.com/p/go #

Patch Set 3 : diff -r 6b696a34e0af https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -41 lines) Patch
M src/pkg/net/fd_unix.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/fd_windows.go View 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/net/iprawsock_posix.go View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/ipsock_posix.go View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/net/sock_posix.go View 5 chunks +35 lines, -11 lines 0 comments Download
M src/pkg/net/tcpsock_posix.go View 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/net/udpsock_posix.go View 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/net/unixsock_posix.go View 2 chunks +2 lines, -13 lines 0 comments Download

Messages

Total messages: 5
mikio
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
9 years, 10 months ago (2014-06-12 16:06:49 UTC) #1
bradfitz
https://codereview.appspot.com/105100046/diff/60001/src/pkg/net/sock_posix.go File src/pkg/net/sock_posix.go (right): https://codereview.appspot.com/105100046/diff/60001/src/pkg/net/sock_posix.go#newcode100 src/pkg/net/sock_posix.go:100: case (fd.family == syscall.AF_INET || fd.family == syscall.AF_INET6) && ...
9 years, 9 months ago (2014-07-23 19:12:21 UTC) #2
mikio
ptal https://codereview.appspot.com/105100046/diff/60001/src/pkg/net/sock_posix.go File src/pkg/net/sock_posix.go (right): https://codereview.appspot.com/105100046/diff/60001/src/pkg/net/sock_posix.go#newcode100 src/pkg/net/sock_posix.go:100: case (fd.family == syscall.AF_INET || fd.family == syscall.AF_INET6) ...
9 years, 8 months ago (2014-08-04 09:16:22 UTC) #3
bradfitz
LGTM Thanks. This makes things nicer.
9 years, 8 months ago (2014-08-04 17:25:23 UTC) #4
mikio
9 years, 8 months ago (2014-08-04 21:10:58 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=0b42d03c2cd5 ***

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://codereview.appspot.com/105100046
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b