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

Issue 5520057: code review 5520057: net: Export SetReuseAddr on the underlying netFD for bo... (Closed)

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

Description

net: Export SetReuseAddr on the underlying netFD for both TCP and UDP sockets. Fixes issue 1692.

Patch Set 1 #

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

Total comments: 1

Patch Set 3 : diff -r 52ae6fbcc97a https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 52ae6fbcc97a https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 52ae6fbcc97a https://go.googlecode.com/hg/ #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -14 lines) Patch
M src/pkg/net/Makefile View 1 2 3 4 chunks +4 lines, -0 lines 4 comments Download
M src/pkg/net/sock.go View 1 2 3 1 chunk +1 line, -1 line 1 comment Download
M src/pkg/net/sock_bsd.go View 1 2 3 1 chunk +7 lines, -9 lines 1 comment Download
M src/pkg/net/sock_linux.go View 1 2 3 1 chunk +5 lines, -3 lines 1 comment Download
M src/pkg/net/sock_windows.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/tcpsock_posix.go View 1 1 chunk +9 lines, -0 lines 1 comment Download
A src/pkg/net/udpsock_bsd.go View 1 2 3 4 1 chunk +26 lines, -0 lines 1 comment Download
M src/pkg/net/udpsock_posix.go View 1 2 1 chunk +9 lines, -0 lines 1 comment Download

Messages

Total messages: 15
dho
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2012-01-06 22:16:07 UTC) #1
dho
On 2012/01/06 22:16:07, dho wrote: > Hello mailto:rsc@golang.org (cc: mailto:golang-dev@googlegroups.com), > > I'd like you ...
13 years, 11 months ago (2012-01-07 01:39:07 UTC) #2
mikio
http://codereview.appspot.com/5520057/diff/1002/src/pkg/net/udpsock_posix.go File src/pkg/net/udpsock_posix.go (right): http://codereview.appspot.com/5520057/diff/1002/src/pkg/net/udpsock_posix.go#newcode146 src/pkg/net/udpsock_posix.go:146: func (c *TCPConn) SetReuseAddr(reuse bool) error { s/TCP/UDP/
13 years, 11 months ago (2012-01-07 08:32:20 UTC) #3
dho
Hello rsc@golang.org, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2012-01-07 19:45:30 UTC) #4
dho
On 2012/01/07 19:45:30, dho wrote: > Hello mailto:rsc@golang.org, mailto:mikioh.mikioh@gmail.com (cc: mailto:golang-dev@googlegroups.com), > > Please take ...
13 years, 11 months ago (2012-01-07 19:46:18 UTC) #5
dho
Hello rsc@golang.org, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2012-01-07 19:50:25 UTC) #6
mikio
Hi, I'm still not convinced whether we should have SetReuseAddr/Port methods on UDPConn, TCPConn or ...
13 years, 11 months ago (2012-01-08 02:51:09 UTC) #7
dho
2012/1/7 Mikio Hara <mikioh.mikioh@gmail.com>: > Hi, > > I'm still not convinced whether we should ...
13 years, 11 months ago (2012-01-08 03:08:54 UTC) #8
mikio
Thank you for the details, now I can see your point. On Sun, Jan 8, ...
13 years, 11 months ago (2012-01-08 13:10:07 UTC) #9
mikio
http://codereview.appspot.com/5520057/diff/9001/src/pkg/net/Makefile File src/pkg/net/Makefile (right): http://codereview.appspot.com/5520057/diff/9001/src/pkg/net/Makefile#newcode42 src/pkg/net/Makefile:42: udpsock_bsd.go\ pls move up before udpsock_posix.go. http://codereview.appspot.com/5520057/diff/9001/src/pkg/net/Makefile#newcode71 src/pkg/net/Makefile:71: udpsock_bsd.go\ ...
13 years, 11 months ago (2012-01-08 14:08:31 UTC) #10
rsc
Since SO_REUSEADDR has such wildly different meanings on Windows and on Unix, I think exposing ...
13 years, 11 months ago (2012-01-09 18:22:33 UTC) #11
mikio
Hi, On Tue, Jan 10, 2012 at 3:22 AM, Russ Cox <rsc@golang.org> wrote: > Since ...
13 years, 11 months ago (2012-01-12 16:42:26 UTC) #12
dho
I like your CL better than this one. 2012/1/12 Mikio Hara <mikioh.mikioh@gmail.com>: > Hi, > ...
13 years, 11 months ago (2012-01-12 17:06:16 UTC) #13
rsc
Now that we have Mikio's CL, we don't need to export the ability to toggle ...
13 years, 11 months ago (2012-01-13 17:53:41 UTC) #14
dho
13 years, 11 months ago (2012-01-19 22:19:40 UTC) #15
*** Abandoned ***
Sign in to reply to this message.

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