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

Issue 5128048: code review 5128048: net: Set family in newFileFD to fix "unexpected socket ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by albert.strasheim
Modified:
13 years, 4 months ago
Reviewers:
CC:
rsc, iant, mikio, golang-dev
Visibility:
Public.

Description

net: set family in newFileFD to fix "unexpected socket family" error from WriteToUDP.

Patch Set 1 #

Patch Set 2 : diff -r 51f8e9c7cb59 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 3299d0ca626a https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 3299d0ca626a https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 5 : diff -r 06199863489f https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 06199863489f https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 06199863489f https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 8 : diff -r 9be80dbcb0af https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M src/pkg/net/file.go View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M src/pkg/net/file_test.go View 1 2 3 4 5 6 7 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 12
albert.strasheim
Hello rsc@golang.org, iant@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-09-26 14:47:23 UTC) #1
rsc
Sounds good, but please add a test case.
13 years, 5 months ago (2011-09-26 15:17:48 UTC) #2
albert.strasheim
PTAL. On 2011/09/26 15:17:48, rsc wrote: > Sounds good, but please add a test case. ...
13 years, 5 months ago (2011-09-26 15:50:54 UTC) #3
albert.strasheim
ping? On 2011/09/26 15:50:54, albert.strasheim wrote: > PTAL. > > On 2011/09/26 15:17:48, rsc wrote: ...
13 years, 5 months ago (2011-09-30 07:19:53 UTC) #4
albert.strasheim
ping?
13 years, 5 months ago (2011-10-07 08:23:38 UTC) #5
mikio
LGTM. s/net: Set family.../net: set family.../, probably. http://codereview.appspot.com/5128048/diff/7001/src/pkg/net/file.go File src/pkg/net/file.go (right): http://codereview.appspot.com/5128048/diff/7001/src/pkg/net/file.go#newcode25 src/pkg/net/file.go:25: family := ...
13 years, 5 months ago (2011-10-07 08:41:48 UTC) #6
albert.strasheim
PTAL. On 2011/10/07 08:41:48, mikioh wrote: > LGTM. > s/net: Set family.../net: set family.../, probably. ...
13 years, 5 months ago (2011-10-07 09:52:05 UTC) #7
mikio
http://codereview.appspot.com/5128048/diff/17001/src/pkg/net/file_test.go File src/pkg/net/file_test.go (right): http://codereview.appspot.com/5128048/diff/17001/src/pkg/net/file_test.go#newcode88 src/pkg/net/file_test.go:88: if _, err := c.WriteTo([]byte{}, c.LocalAddr()); err != nil ...
13 years, 5 months ago (2011-10-08 05:02:24 UTC) #8
albert.strasheim
Hello On 2011/10/08 05:02:24, mikioh wrote: > http://codereview.appspot.com/5128048/diff/17001/src/pkg/net/file_test.go > File src/pkg/net/file_test.go (right): > > http://codereview.appspot.com/5128048/diff/17001/src/pkg/net/file_test.go#newcode88 ...
13 years, 5 months ago (2011-10-08 05:36:59 UTC) #9
albert.strasheim
PTAL. It seems the tests for change 5241043 ran into this same issue. As far ...
13 years, 5 months ago (2011-10-10 08:35:58 UTC) #10
rsc
LGTM
13 years, 5 months ago (2011-10-12 17:35:58 UTC) #11
rsc
13 years, 5 months ago (2011-10-12 17:36:47 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=d65a660266d4 ***

net: fix "unexpected socket family" error from WriteToUDP.

R=rsc, iant, mikioh.mikioh
CC=golang-dev
http://codereview.appspot.com/5128048

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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