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

Issue 7300065: code review 7300065: net: simplify Dial, Listen, ListenPacket and those helpers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by mikio
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, dave_cheney.net, bradfitz
Visibility:
Public.

Description

net: simplify Dial, Listen, ListenPacket and those helpers

Patch Set 1 #

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

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

Total comments: 11

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -67 lines) Patch
M src/pkg/net/dial.go View 1 2 3 6 chunks +27 lines, -59 lines 0 comments Download
M src/pkg/net/fd_unix.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/net/fd_windows.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/net/ipraw_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/iprawsock.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/iprawsock_posix.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 4 months ago (2013-02-08 01:51:48 UTC) #1
dave_cheney.net
Thank you. I think this is very close but I would like to do another ...
12 years, 4 months ago (2013-02-08 03:35:06 UTC) #2
bradfitz
https://codereview.appspot.com/7300065/diff/5001/src/pkg/net/dial.go File src/pkg/net/dial.go (right): https://codereview.appspot.com/7300065/diff/5001/src/pkg/net/dial.go#newcode9 src/pkg/net/dial.go:9: func parseDialNetwork(net string) (string, int, error) { named result ...
12 years, 4 months ago (2013-02-08 03:45:16 UTC) #3
mikio
> I preferred the old name, resolveDialAddr("dial", ...) stutters. thanks. as you know I'm not ...
12 years, 4 months ago (2013-02-08 03:45:34 UTC) #4
dave_cheney.net
> hm, in that case do you have any good candidate for > parseDialNetwork too? ...
12 years, 4 months ago (2013-02-08 03:53:55 UTC) #5
mikio
> parseNetwork(net string) (afnet string, proto int, err error), sounds reasonable, thanks. i think i ...
12 years, 4 months ago (2013-02-08 04:10:55 UTC) #6
mikio
Hello golang-dev@googlegroups.com, dave@cheney.net, bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 4 months ago (2013-02-08 11:14:11 UTC) #7
mikio
https://codereview.appspot.com/7300065/diff/5001/src/pkg/net/dial.go File src/pkg/net/dial.go (right): https://codereview.appspot.com/7300065/diff/5001/src/pkg/net/dial.go#newcode9 src/pkg/net/dial.go:9: func parseDialNetwork(net string) (string, int, error) { On 2013/02/08 ...
12 years, 4 months ago (2013-02-08 11:14:36 UTC) #8
dave_cheney.net
LGTM. Thank you. A few notes for extra credit. 38 func resolveAddr(op, net, addr string, ...
12 years, 4 months ago (2013-02-08 12:09:10 UTC) #9
mikio
> A few notes for extra credit. gocov?
12 years, 4 months ago (2013-02-08 12:31:06 UTC) #10
dave_cheney.net
Yup. On Fri, Feb 8, 2013 at 11:31 PM, Mikio Hara <mikioh.mikioh@gmail.com> wrote: >> A ...
12 years, 4 months ago (2013-02-08 12:32:12 UTC) #11
mikio
thanks. i will add that in following CLs.
12 years, 4 months ago (2013-02-08 12:51:08 UTC) #12
mikio
12 years, 4 months ago (2013-02-08 12:53:30 UTC) #13
*** Submitted as https://code.google.com/p/go/source/detail?r=67fd3609446a ***

net: simplify Dial, Listen, ListenPacket and those helpers

R=golang-dev, dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/7300065
Sign in to reply to this message.

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