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

Issue 9322043: code review 9322043: net: make LookupCNAME querying CNAME type (Closed)

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

Description

net: make LookupCNAME querying CNAME type POSIX getaddrinfo is designed for resolving DNS names but not designed for skimming off various DNS records. Thus querying CNAME with A or quad-A type will cause returning EAI_NONAME on getaddrinfo. This CL replaces use of getaddrinfo with use of net package embedded querier to prevent such error. Fixes issue 5038.

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -58 lines) Patch
M src/pkg/net/cgo_stub.go View 1 chunk +0 lines, -4 lines 0 comments Download
M src/pkg/net/cgo_unix.go View 4 chunks +7 lines, -31 lines 0 comments Download
M src/pkg/net/dnsclient_unix.go View 1 chunk +0 lines, -20 lines 0 comments Download
M src/pkg/net/lookup_unix.go View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 11 months ago (2013-05-13 22:06:03 UTC) #1
mikio
ping
10 years, 11 months ago (2013-05-20 10:02:27 UTC) #2
bradfitz
No test? Would it help if I created a CNAME under golang.org for the test ...
10 years, 11 months ago (2013-05-20 18:00:07 UTC) #3
rsc
NOT LGTM The whole point of the cgo stuff is to avoid using the pure ...
10 years, 11 months ago (2013-05-20 18:54:13 UTC) #4
mikio
On Tue, May 21, 2013 at 3:54 AM, <rsc@golang.org> wrote: > The whole point of ...
10 years, 11 months ago (2013-05-22 14:05:32 UTC) #5
mikio
Russ? >> The whole point of the cgo stuff is to avoid using the pure ...
10 years, 11 months ago (2013-05-30 00:29:48 UTC) #6
mikio
10 years, 10 months ago (2013-06-08 09:06:23 UTC) #7
*** Abandoned ***
Sign in to reply to this message.

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