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

Issue 13553044: code review 13553044: net: don't error when marshalling nil IP addresses (Closed)

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

Description

net: don't error when marshalling nil IP addresses See https://code.google.com/p/go/issues/detail?id=6339#c3 Fixes Issue 6339

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r b12952bbbbf7 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r b12952bbbbf7 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 5
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2013-09-06 21:20:21 UTC) #1
rsc
https://codereview.appspot.com/13553044/diff/6001/src/pkg/net/ip_test.go File src/pkg/net/ip_test.go (left): https://codereview.appspot.com/13553044/diff/6001/src/pkg/net/ip_test.go#oldcode27 src/pkg/net/ip_test.go:27: {"", nil}, ParseIP should still reject "" I think. ...
11 years, 8 months ago (2013-09-06 22:10:32 UTC) #2
bradfitz
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2013-09-06 22:20:44 UTC) #3
rsc
LGTM
11 years, 8 months ago (2013-09-06 22:27:18 UTC) #4
bradfitz
11 years, 8 months ago (2013-09-06 22:29:06 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=2a5486440b06 ***

net: don't error when marshalling nil IP addresses

See https://code.google.com/p/go/issues/detail?id=6339#c3

Fixes Issue 6339

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

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