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

Issue 12023043: code review 12023043: net: add dial, listenStream and listenDatagram methods to netFD (Closed)

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

Description

net: add dial, listenStream and listenDatagram methods to netFD This CL refactors the existing listenerSockaddr function into several methods on netFD. This is in preparation for runtime-integrated network pollster for BSD variants. Update issue 5199

Patch Set 1 : diff -r 74fe22b6b5f3 https://code.google.com/p/go #

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

Total comments: 5

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

Total comments: 3

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -113 lines) Patch
M src/pkg/net/sock_posix.go View 1 2 3 4 3 chunks +106 lines, -50 lines 0 comments Download
R src/pkg/net/sock_unix.go View 1 chunk +0 lines, -36 lines 0 comments Download
M src/pkg/net/sock_windows.go View 1 chunk +0 lines, -27 lines 0 comments Download

Messages

Total messages: 18
mikio
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 8 months ago (2013-08-03 07:06:46 UTC) #1
mikio
ptal
10 years, 8 months ago (2013-08-03 14:18:31 UTC) #2
dfc
LGTM. Please wait for Alex or Dmitry to try it on Windows systems. Some typos ...
10 years, 8 months ago (2013-08-04 01:32:40 UTC) #3
mikio
On Sun, Aug 4, 2013 at 10:32 AM, <dave@cheney.net> wrote > The setXXX names aren't ...
10 years, 8 months ago (2013-08-04 03:19:51 UTC) #4
mikio
PTAL https://codereview.appspot.com/12023043/diff/33001/src/pkg/net/sock_posix.go File src/pkg/net/sock_posix.go (right): https://codereview.appspot.com/12023043/diff/33001/src/pkg/net/sock_posix.go#newcode93 src/pkg/net/sock_posix.go:93: On 2013/08/04 01:32:40, dfc wrote: > The setXXX ...
10 years, 8 months ago (2013-08-04 04:09:07 UTC) #5
dfc
LGTM. Thank you for adding commentary to those functions, I made a small suggestion. Please ...
10 years, 8 months ago (2013-08-04 04:15:21 UTC) #6
dfc
Final nit on the description. This CL refactors up the existing listenerSockaddr function into several ...
10 years, 8 months ago (2013-08-04 04:16:40 UTC) #7
mikio
> src/pkg/net/sock_posix.go:180: fd.setAddr(toAddr(lsa), nil) >> thanks but no thanks. > > fair enough IIRC, at ...
10 years, 8 months ago (2013-08-04 04:19:42 UTC) #8
remyoudompheng
On 2013/08/04 04:19:42, mikio wrote: > > src/pkg/net/sock_posix.go:180: fd.setAddr(toAddr(lsa), nil) > >> thanks but no ...
10 years, 8 months ago (2013-08-04 06:43:56 UTC) #9
mikio
> Can you explain why we would need this CL at all ? This CL ...
10 years, 8 months ago (2013-08-04 08:02:52 UTC) #10
mikio
PTAL changed method names into dial, listenStream and listenDatagram.
10 years, 8 months ago (2013-08-04 09:51:23 UTC) #11
brainman
I just tested it on windows and it builds fine. But I would be wary ...
10 years, 8 months ago (2013-08-05 04:40:09 UTC) #12
mikio
On Mon, Aug 5, 2013 at 1:40 PM, <alex.brainman@gmail.com> wrote: > I just tested it ...
10 years, 8 months ago (2013-08-05 07:06:27 UTC) #13
remyoudompheng
On 2013/08/04 08:02:52, mikio wrote: > > Can you explain why we would need this ...
10 years, 8 months ago (2013-08-05 07:09:48 UTC) #14
mikio
On Mon, Aug 5, 2013 at 4:09 PM, <remyoudompheng@gmail.com> wrote: > I see it's part ...
10 years, 8 months ago (2013-08-05 07:14:41 UTC) #15
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=51d2970d9348 *** net: add dial, listenStream and listenDatagram methods to netFD This ...
10 years, 8 months ago (2013-08-06 21:15:59 UTC) #16
bradfitz
Was everybody happy with this? I saw a conditional LGTM and some silence. I admit ...
10 years, 8 months ago (2013-08-06 21:21:34 UTC) #17
mikio
10 years, 8 months ago (2013-08-06 21:33:03 UTC) #18
On Wed, Aug 7, 2013 at 6:21 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote:

> Where is the roadmap for the upcoming CLs?

Will update:
https://groups.google.com/d/msg/golang-dev/hkygwgxDQ-s/HUQJGAomOksJ

> Do you have an idea of what the end picture looks like?

https://codereview.appspot.com/8264043/ is that.
Sign in to reply to this message.

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