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

Issue 13532045: code review 13532045: net: defend against broken getaddrinfo on Linux (Closed)

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

Description

net: defend against broken getaddrinfo on Linux getaddrinfo is supposed to set errno when it returns EAI_SYSTEM, but sometimes it does not. Fixes issue 6232.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 46fd4ef6c0de https://code.google.com/p/go/ #

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

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
10 years, 7 months ago (2013-09-11 14:46:27 UTC) #1
iant
LGTM
10 years, 7 months ago (2013-09-11 15:35:15 UTC) #2
rsc
10 years, 7 months ago (2013-09-11 15:39:00 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=8d19586af772 ***

net: defend against broken getaddrinfo on Linux

getaddrinfo is supposed to set errno when it returns
EAI_SYSTEM, but sometimes it does not.

Fixes issue 6232.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/13532045
Sign in to reply to this message.

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