diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 21:06:14 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-08 21:06:14 +0000 |
commit | caacb664030c70c0afe2eb94618d4bbf10016308 (patch) | |
tree | a44366cd1a73bf950a292b4e73a79286f2558c3d /net/socket | |
parent | 7a4de4ebe6279d54ef6f9c32600b4baf14c29f79 (diff) | |
download | chromium_src-caacb664030c70c0afe2eb94618d4bbf10016308.zip chromium_src-caacb664030c70c0afe2eb94618d4bbf10016308.tar.gz chromium_src-caacb664030c70c0afe2eb94618d4bbf10016308.tar.bz2 |
Add checks to track down bug 31096
BUG=31096
TEST=none
Review URL: http://codereview.chromium.org/669226
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r-- | net/socket/client_socket_handle.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc index 8db0543..d8b0f8f 100644 --- a/net/socket/client_socket_handle.cc +++ b/net/socket/client_socket_handle.cc @@ -60,6 +60,8 @@ void ClientSocketHandle::OnIOComplete(int result) { void ClientSocketHandle::HandleInitCompletion(int result) { CHECK_NE(ERR_IO_PENDING, result); + // TODO(vandebo) remove when bug 31096 is resolved + CHECK(socket_.get() || result != OK); if (result != OK) ResetInternal(false); // The request failed, so there's nothing to cancel. } |