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

Issue 6684054: code review 6684054: net: return error from pollster rather than panicing (Closed)

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

Description

net: return error from pollster rather than panicing Fixes issue 3590.

Patch Set 1 #

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

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

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

Patch Set 5 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 6 : diff -r 3e39b4ebe5b1 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 3e39b4ebe5b1 https://go.googlecode.com/hg/ #

Total comments: 4

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

Patch Set 9 : diff -r b595997205c8 https://code.google.com/p/go #

Patch Set 10 : diff -r b595997205c8 https://code.google.com/p/go #

Patch Set 11 : diff -r 24401c14a1a9 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -7 lines) Patch
M src/pkg/net/fd_unix.go View 1 1 chunk +3 lines, -7 lines 0 comments Download
A src/pkg/net/fd_unix_test.go View 1 2 3 4 5 6 7 8 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 15
dave_cheney.net
Hello bradfitz@golang.org, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 6 months ago (2012-10-15 11:08:47 UTC) #1
bradfitz
I believe this is Ian's code? He'd be a better reviewer than me. In general, ...
11 years, 6 months ago (2012-10-15 12:08:12 UTC) #2
iant
LGTM
11 years, 6 months ago (2012-10-15 16:55:10 UTC) #3
dave_cheney.net
Thanks Ian. Could I ask someone from then *BSD camps to check this CL passes ...
11 years, 6 months ago (2012-10-15 22:30:16 UTC) #4
mikio
LTGM a few nits, even if the kernel will clean the table when go test ...
11 years, 6 months ago (2012-10-16 03:17:38 UTC) #5
mikio
LGTM > LTGM
11 years, 6 months ago (2012-10-16 03:23:12 UTC) #6
dave_cheney.net
Hello bradfitz@golang.org, mikioh.mikioh@gmail.com, iant@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-16 05:05:24 UTC) #7
dave_cheney.net
Thank you for your comments. PTAL. https://codereview.appspot.com/6684054/diff/15001/src/pkg/net/fd_unix_test.go File src/pkg/net/fd_unix_test.go (right): https://codereview.appspot.com/6684054/diff/15001/src/pkg/net/fd_unix_test.go#newcode19 src/pkg/net/fd_unix_test.go:19: } On 2012/10/16 ...
11 years, 6 months ago (2012-10-16 05:05:35 UTC) #8
dave_cheney.net
Thank you for your comments. I am waiting on confirmation that this passes on FreeBSD ...
11 years, 6 months ago (2012-10-16 10:28:39 UTC) #9
mikio
forgot to say; it passes on freebsd/amd64,386.
11 years, 6 months ago (2012-10-16 10:32:51 UTC) #10
dave_cheney.net
I've asked bsiegert if he can check NetBSD. On Tue, Oct 16, 2012 at 9:32 ...
11 years, 6 months ago (2012-10-16 10:35:14 UTC) #11
bsiegert
On Tue, Oct 16, 2012 at 12:35 PM, Dave Cheney <dave@cheney.net> wrote: > I've asked ...
11 years, 6 months ago (2012-10-16 13:01:48 UTC) #12
dave_cheney.net
Yes, this is the same as Linux. As I am calling Read on a pollster ...
11 years, 6 months ago (2012-10-16 13:04:17 UTC) #13
bsiegert
LGTM then.
11 years, 6 months ago (2012-10-16 13:04:51 UTC) #14
dave_cheney.net
11 years, 6 months ago (2012-10-16 22:41:25 UTC) #15
*** Submitted as http://code.google.com/p/go/source/detail?r=7fe634e0f93e ***

net: return error from pollster rather than panicing

Fixes issue 3590.

R=bradfitz, mikioh.mikioh, iant, bsiegert
CC=golang-dev
http://codereview.appspot.com/6684054
Sign in to reply to this message.

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