Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1995)

Issue 507048: Cleanup: Remove the support for IPv4 and IPv6 addressing types in the SOCKS5 ... (Closed)

Created:
11 years ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com, darin (slow to review), Paweł Hajdan Jr.
Visibility:
Public.

Description

Cleanup: Remove the support for IPv4 and IPv6 addressing types in the SOCKS5 implementation. This is no longer used by chrome, and it is unlikely that embedders would want to use this. The default will just use the DOMAIN addressing type. BUG=29914 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34928

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 15

Patch Set 3 : address wtc's comments #

Patch Set 4 : Rename error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -230 lines) Patch
M net/http/http_network_transaction.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socks5_client_socket.h View 1 6 chunks +6 lines, -35 lines 0 comments Download
M net/socket/socks5_client_socket.cc View 1 2 3 9 chunks +13 lines, -83 lines 0 comments Download
M net/socket/socks5_client_socket_unittest.cc View 1 2 13 chunks +49 lines, -110 lines 0 comments Download
M net/socket_stream/socket_stream.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
eroman
11 years ago (2009-12-18 01:14:35 UTC) #1
wtc
LGTM. http://codereview.chromium.org/507048/diff/2001/3003 File net/socket/socks5_client_socket.cc (right): http://codereview.chromium.org/507048/diff/2001/3003#newcode60 net/socket/socks5_client_socket.cc:60: buffer_.clear(); Why do we need this? The original ...
11 years ago (2009-12-18 01:33:00 UTC) #2
eroman
http://codereview.chromium.org/507048/diff/2001/3003 File net/socket/socks5_client_socket.cc (right): http://codereview.chromium.org/507048/diff/2001/3003#newcode60 net/socket/socks5_client_socket.cc:60: buffer_.clear(); On 2009/12/18 01:33:00, wtc wrote: > Why do ...
11 years ago (2009-12-18 01:53:37 UTC) #3
wtc
11 years ago (2009-12-18 02:05:24 UTC) #4
http://codereview.chromium.org/507048/diff/2001/3003
File net/socket/socks5_client_socket.cc (right):

http://codereview.chromium.org/507048/diff/2001/3003#newcode60
net/socket/socks5_client_socket.cc:60: buffer_.clear();
On 2009/12/18 01:53:37, eroman wrote:
>
> It was a mistake that in my earlier change I did not copy that over.

I actually noticed that when I reviewed your earlier CL.
This is why I asked about it when I reviewed this CL.

http://codereview.chromium.org/507048/diff/2001/3003#newcode257
net/socket/socks5_client_socket.cc:257: return ERR_ADDRESS_INVALID;
On 2009/12/18 01:53:37, eroman wrote:
>
> How about ERR_INVALID_URL ?

Good.

Powered by Google App Engine
This is Rietveld 408576698