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

Issue 5669043: code review 5669043: net: prefer an IPv4 listen if no address given (Closed)

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

Description

net: prefer an IPv4 listen if no address given This CL avoids net.Listen("tcp", ":80"), http.ListenAdnServe(":80") prefer an IPv6 listen.

Patch Set 1 : diff -r 604b19afea4b https://go.googlecode.com/hg/ #

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M src/pkg/net/dial.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/ipsock_posix.go View 1 3 chunks +9 lines, -6 lines 0 comments Download
M src/pkg/net/server_test.go View 1 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 7
mikio
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, 4 months ago (2012-02-14 14:39:21 UTC) #1
rsc
LGTM Please remind me which systems are broken and don't support IPv4-in-IPv6 mapping? http://codereview.appspot.com/5669043/diff/4001/src/pkg/net/server_test.go File ...
13 years, 4 months ago (2012-02-14 15:20:37 UTC) #2
mikio
On Wed, Feb 15, 2012 at 12:20 AM, <rsc@golang.org> wrote: > Please remind me which ...
13 years, 4 months ago (2012-02-14 15:41:34 UTC) #3
mikio
On Wed, Feb 15, 2012 at 12:20 AM, <rsc@golang.org> wrote: > http://codereview.appspot.com/5669043/diff/4001/src/pkg/net/server_test.go#newcode125 > src/pkg/net/server_test.go:125: doTest(t, ...
13 years, 4 months ago (2012-02-14 15:45:26 UTC) #4
rsc
On Tue, Feb 14, 2012 at 10:41, Mikio Hara <mikioh.mikioh@gmail.com> wrote: > I guess we ...
13 years, 4 months ago (2012-02-14 15:55:23 UTC) #5
mikio
On Wed, Feb 15, 2012 at 12:55 AM, Russ Cox <rsc@golang.org> wrote: > Thanks. Could ...
13 years, 4 months ago (2012-02-14 15:58:23 UTC) #6
mikio
13 years, 4 months ago (2012-02-14 16:59:21 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=14bfd680b9d4 ***

net: prefer an IPv4 listen if no address given

This CL avoids net.Listen("tcp", ":80"), http.ListenAdnServe(":80")
prefer an IPv6 listen.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5669043
Sign in to reply to this message.

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