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

Issue 58120045: code review 58120045: net: only return unique hosts during hostname lookup on... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by mischief
Modified:
11 years, 1 month ago
Reviewers:
aram, gobot, rsc
CC:
jas, 0intro, aram, golang-codereviews
Visibility:
Public.

Description

net: only return unique hosts during hostname lookup on plan 9 TestLookupHost expects that no duplicate addresses are returned. when cs is consulted for a name, e.g net!localhost!1, it will possibly return multiple available paths, e.g. via il and tcp. this confuses the tests.

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/pkg/net/lookup_plan9.go View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13
mischief
Hello jas@corpus-callosum.com, 0intro@gmail.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 1 month ago (2014-01-30 07:19:19 UTC) #1
jas
Per dns, a lookup can return more than one address and should't be filtered here. ...
11 years, 1 month ago (2014-01-30 07:28:37 UTC) #2
mischief
On 2014/01/30 07:28:37, jas wrote: > Per dns, a lookup can return more than one ...
11 years, 1 month ago (2014-01-30 07:33:24 UTC) #3
jas
Have you tried with: proto=tcp
11 years, 1 month ago (2014-01-30 08:07:11 UTC) #4
jas
Have you tried with: ip=127.0.0.1 sys=localhost dom=localhost proto=tcp
11 years, 1 month ago (2014-01-30 08:08:41 UTC) #5
mischief
On 2014/01/30 08:08:41, jas wrote: > Have you tried with: > > ip=127.0.0.1 sys=localhost dom=localhost ...
11 years, 1 month ago (2014-01-30 08:40:17 UTC) #6
aram
LGTM First I was uncertain this is the correct fix, but after some more thinking ...
11 years, 1 month ago (2014-01-30 10:42:48 UTC) #7
aram
On 2014/01/30 08:07:11, jas wrote: > Have you tried with: > proto=tcp I thought of ...
11 years, 1 month ago (2014-01-30 10:45:43 UTC) #8
jas
Richer may be an over generous use of the term. Considering ndb doesn't support all ...
11 years, 1 month ago (2014-01-30 15:52:20 UTC) #9
aram
On Thu, Jan 30, 2014 at 4:52 PM, <jas@corpus-callosum.com> wrote: > > Richer may be ...
11 years, 1 month ago (2014-01-30 16:00:53 UTC) #10
mischief
ping.
11 years, 1 month ago (2014-02-06 21:13:10 UTC) #11
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=19f24bb3c8f8 *** net: only return unique hosts during hostname lookup on plan ...
11 years, 1 month ago (2014-02-13 15:26:23 UTC) #12
gobot
11 years, 1 month ago (2014-02-13 15:38:57 UTC) #13
Message was sent while issue was closed.
This CL appears to have broken the darwin-amd64 builder.
Sign in to reply to this message.

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