Comment #15 on issue 25440 by [email protected]: crash in net::SOCKSClientSocket::DoCallback
http://code.google.com/p/chromium/issues/detail?id=25440

I guess the solution is to define host_resolver_ as a
scoped_ptr<SingleRequestHostResolver> so that we can
delete the SingleRequestHostResolver object in the
Disconnect() method.

SOCKS5ClientSocket has the same bug.  We should review
all the XXXClientSocket::Disconnect method to make sure
it stops every pending async operation that has a
reference to the io_callback_ member (or similar members).
I fixed a similar bug in the SSLClientSocket classes
(whose Disconnect method did not stop a pending CertVerifier
operation), so I am familiar with this issue.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to