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

Issue 525084: Cancel any outstanding host resolve when calling SOCKSClientSocket::Disconnec... (Closed)

Created:
10 years, 11 months 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

Cancel any outstanding host resolve when calling SOCKSClientSocket::Disconnect(). BUG=25440 TEST=SOCKSClientSocketTest.DisconnectWhileHostResolveInProgress Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35747

Patch Set 1 #

Total comments: 15

Patch Set 2 : Address wtc's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -11 lines) Patch
M net/base/host_resolver.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M net/base/host_resolver.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M net/socket/socks5_client_socket.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M net/socket/socks_client_socket.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M net/socket/socks_client_socket_unittest.cc View 1 11 chunks +88 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
eroman
10 years, 11 months ago (2010-01-07 05:44:56 UTC) #1
wtc
LGTM. http://codereview.chromium.org/525084/diff/1/5 File net/base/host_resolver.h (right): http://codereview.chromium.org/525084/diff/1/5#newcode189 net/base/host_resolver.h:189: // from being invoked. Does this allow us ...
10 years, 11 months ago (2010-01-07 18:55:06 UTC) #2
eroman
Thanks for the review! http://codereview.chromium.org/525084/diff/1/5 File net/base/host_resolver.h (right): http://codereview.chromium.org/525084/diff/1/5#newcode189 net/base/host_resolver.h:189: // from being invoked. On ...
10 years, 11 months ago (2010-01-07 19:35:43 UTC) #3
wtc
LGTM. Do you think it's worth logging the fact that the Connect was cancelled by ...
10 years, 11 months ago (2010-01-07 19:45:14 UTC) #4
eroman
10 years, 11 months ago (2010-01-07 20:00:52 UTC) #5
> Do you think it's worth logging the fact that the
>  Connect was cancelled by Disconnect before we set
> load_log_ to NULL?

Yes, I think it is worth doing since it doesn't really cost us anything.
But per my previous comment, I don't think such change should be part of this
CL.

Powered by Google App Engine
This is Rietveld 408576698