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

Issue 8966046: code review 8966046: net: do not call syscall.Bind twice on windows (Closed)

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

Description

net: do not call syscall.Bind twice on windows Fixes issue 5355.

Patch Set 1 #

Patch Set 2 : diff -r 5e23075b0970 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 5e23075b0970 https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 4 : diff -r 5e23075b0970 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -14 lines) Patch
M src/pkg/net/dial_test.go View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
M src/pkg/net/fd_unix.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/fd_windows.go View 1 1 chunk +13 lines, -12 lines 0 comments Download
M src/pkg/net/sock_posix.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years ago (2013-04-27 06:57:49 UTC) #1
mikio
https://codereview.appspot.com/8966046/diff/5001/src/pkg/net/dial_test.go File src/pkg/net/dial_test.go (right): https://codereview.appspot.com/8966046/diff/5001/src/pkg/net/dial_test.go#newcode376 src/pkg/net/dial_test.go:376: func TestDialer(t *testing.T) { I'd suggest to use TestTCPConnSpecificMethods ...
11 years ago (2013-04-27 09:19:37 UTC) #2
brainman
Hello golang-dev@googlegroups.com, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years ago (2013-04-27 11:03:27 UTC) #3
brainman
Thank you for review. Alex https://codereview.appspot.com/8966046/diff/5001/src/pkg/net/dial_test.go File src/pkg/net/dial_test.go (right): https://codereview.appspot.com/8966046/diff/5001/src/pkg/net/dial_test.go#newcode376 src/pkg/net/dial_test.go:376: func TestDialer(t *testing.T) { ...
11 years ago (2013-04-27 11:03:36 UTC) #4
mikio
On Sat, Apr 27, 2013 at 8:03 PM, <alex.brainman@gmail.com> wrote: > I am fixing issue ...
11 years ago (2013-04-27 15:09:40 UTC) #5
brainman
On 2013/04/27 15:09:40, mikio wrote: > > ... Does issue 5355 require Dialer for its ...
10 years, 12 months ago (2013-04-27 23:46:07 UTC) #6
bradfitz
I think this LGTM, but is this a regression from Go 1.0? On Sat, Apr ...
10 years, 12 months ago (2013-04-30 17:04:43 UTC) #7
brainman
On 2013/04/30 17:04:43, bradfitz wrote: > I think this LGTM, but is this a regression ...
10 years, 12 months ago (2013-05-01 00:12:59 UTC) #8
r
there are a lot of outstanding comments On Tue, Apr 30, 2013 at 5:12 PM, ...
10 years, 12 months ago (2013-05-01 00:15:57 UTC) #9
brainman
On 2013/05/01 00:15:57, r wrote: > there are a lot of outstanding comments > I ...
10 years, 12 months ago (2013-05-01 00:20:46 UTC) #10
r
Codereview was showing unanswered comments last I looked. They are cleared now. Convince me to ...
10 years, 12 months ago (2013-05-01 00:41:47 UTC) #11
r
LGTM
10 years, 12 months ago (2013-05-01 00:47:21 UTC) #12
r
i am being arm-twisted, but i will check it in and watch the flames. -rob ...
10 years, 12 months ago (2013-05-01 00:47:34 UTC) #13
r
*** Submitted as https://code.google.com/p/go/source/detail?r=bea6199b09ea *** net: do not call syscall.Bind twice on windows Fixes issue ...
10 years, 12 months ago (2013-05-01 00:47:41 UTC) #14
brainman
10 years, 12 months ago (2013-05-01 00:52:14 UTC) #15
On 2013/05/01 00:47:34, r wrote:
> ... i will check it in and watch the flames.
> 

In an adventurous mood today?
That is the spirit. :-)

Alex
Sign in to reply to this message.

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