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

Issue 7220047: code review 7220047: go.net/proxy: fix desired destination address in SOCKS5... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by mikio
Modified:
12 years, 1 month ago
Reviewers:
rsc
CC:
golang-dev, agl1, raptium
Visibility:
Public.

Description

go.net/proxy: fix desired destination address in SOCKS5 CONNECT Both types IPv6 IPv4-mapped address and IPv4-compatible address are not allowed to be used in wire protocols. Fixes issue 4709. Thank you raptium for original CL 6922050.

Patch Set 1 #

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

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

Total comments: 24

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -17 lines) Patch
M proxy/proxy_test.go View 1 2 3 4 chunks +76 lines, -6 lines 0 comments Download
M proxy/socks5.go View 1 6 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 11
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, raptium@gmail.com), I'd like you to review this change to https://code.google.com/p/go.net
12 years, 1 month ago (2013-01-26 12:22:27 UTC) #1
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, raptium@gmail.com), Please take another look.
12 years, 1 month ago (2013-01-26 13:20:46 UTC) #2
agl1
https://codereview.appspot.com/7220047/diff/8001/proxy/proxy_test.go File proxy/proxy_test.go (right): https://codereview.appspot.com/7220047/diff/8001/proxy/proxy_test.go#newcode55 proxy/proxy_test.go:55: type testSOCKS5Dialer struct{} This is just a Direct. https://codereview.appspot.com/7220047/diff/8001/proxy/proxy_test.go#newcode62 ...
12 years, 1 month ago (2013-01-26 15:23:43 UTC) #3
mikio
Hello golang-dev@googlegroups.com, agl@golang.org (cc: golang-dev@googlegroups.com, raptium@gmail.com), Please take another look.
12 years, 1 month ago (2013-01-28 12:27:53 UTC) #4
mikio
PTAL https://codereview.appspot.com/7220047/diff/8001/proxy/proxy_test.go File proxy/proxy_test.go (right): https://codereview.appspot.com/7220047/diff/8001/proxy/proxy_test.go#newcode55 proxy/proxy_test.go:55: type testSOCKS5Dialer struct{} On 2013/01/26 15:23:43, agl1 wrote: ...
12 years, 1 month ago (2013-01-28 12:28:51 UTC) #5
agl1
LGTM https://codereview.appspot.com/7220047/diff/12002/proxy/socks5.go File proxy/socks5.go (left): https://codereview.appspot.com/7220047/diff/12002/proxy/socks5.go#oldcode67 proxy/socks5.go:67: break ah, indeed. I didn't have my Go ...
12 years, 1 month ago (2013-01-28 15:57:30 UTC) #6
mikio
On Tue, Jan 29, 2013 at 12:57 AM, <agl@golang.org> wrote: > ah, indeed. I didn't ...
12 years, 1 month ago (2013-01-28 18:23:46 UTC) #7
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=944169afe891&repo=net *** go.net/proxy: fix desired destination address in SOCKS5 CONNECT Both types ...
12 years, 1 month ago (2013-01-28 18:24:50 UTC) #8
agl1
On Mon, Jan 28, 2013 at 1:23 PM, Mikio Hara <mikioh.mikioh@gmail.com> wrote: > Oh please. ...
12 years, 1 month ago (2013-01-28 18:28:18 UTC) #9
rsc
I've found it useful in those cases to write: // ok instead of break. Then ...
12 years, 1 month ago (2013-01-28 18:31:09 UTC) #10
mikio
12 years, 1 month ago (2013-01-28 18:46:33 UTC) #11
On Tue, Jan 29, 2013 at 3:28 AM, Adam Langley <agl@golang.org> wrote:

> I do try to be polite in code reviews but that was not intended to be
> an optional request.

Yes, thank you for the review.

On Tue, Jan 29, 2013 at 3:31 AM, Russ Cox <rsc@golang.org> wrote:

> I've found it useful in those cases to write:
>
>   // ok
>
> instead of break. Then it's clear that you're marking an empty body
> explicitly.

Will try, thanks.
Sign in to reply to this message.

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