summaryrefslogtreecommitdiffstats
path: root/net/http/http_proxy_client_socket.h
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 06:44:57 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 06:44:57 +0000
commitcd188b9b1950e6dd8bd78828998303efb08b835d (patch)
tree5fd591816f1bab564e40cf9911a489869d9fb476 /net/http/http_proxy_client_socket.h
parentc8e62f338255301421ee4b20624d83c777c56a9a (diff)
downloadchromium_src-cd188b9b1950e6dd8bd78828998303efb08b835d.zip
chromium_src-cd188b9b1950e6dd8bd78828998303efb08b835d.tar.gz
chromium_src-cd188b9b1950e6dd8bd78828998303efb08b835d.tar.bz2
Revert 54707 - Fix WebSocket crash bug.
If SocketStream closes while waiting ResolveProxy, it badly calls DoResolveProxyComplete from DoLoop invoked by SocketStream::Close, and real callback of ResolveProxy failed to call SocketStream::OnIOCompleted. So, don't run DoLoop when closed, if SocketStream is calling APIs of proxy_service or resolver. Check closing_ after the API calls back and closes the SocketStream. BUG=50394,46750 TEST=websocket/tests doesn't crash Review URL: http://codereview.chromium.org/3054039 TBR=ukai@chromium.org Review URL: http://codereview.chromium.org/3017053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_proxy_client_socket.h')
0 files changed, 0 insertions, 0 deletions