diff options
author | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 16:21:57 +0000 |
---|---|---|
committer | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-29 16:21:57 +0000 |
commit | 8e7177727ef18e2fdb0f2ad05e6c39da10265797 (patch) | |
tree | ef8960c18ef613cbec74f8346ecca168c1df8d10 /net/socket/socket_test_util.h | |
parent | d685a68049c3bacf00e108afe1da6a0807b2ab3c (diff) | |
download | chromium_src-8e7177727ef18e2fdb0f2ad05e6c39da10265797.zip chromium_src-8e7177727ef18e2fdb0f2ad05e6c39da10265797.tar.gz chromium_src-8e7177727ef18e2fdb0f2ad05e6c39da10265797.tar.bz2 |
Re-connect if Keep-Alive connection has been closed by the time we get around to reusing it.
BUG=none
TEST=net_unittests --gtest_filter=HttpNetworkTransactionTest.BasicAuthKeepAliveImpatientServer:*.BasicAuthKeepAliveNoBody:*.BasicAuthKeepAliveLargeBody && unit_tests --gtest_filter=*TransportClientSocketTest.IsConnected*
Review URL: http://codereview.chromium.org/6878055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socket_test_util.h')
-rw-r--r-- | net/socket/socket_test_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h index 823c3b8..42d4a46 100644 --- a/net/socket/socket_test_util.h +++ b/net/socket/socket_test_util.h @@ -622,6 +622,7 @@ class MockTCPClientSocket : public MockClientSocket { virtual void Disconnect(); virtual bool IsConnected() const; virtual bool IsConnectedAndIdle() const; + virtual int GetPeerAddress(AddressList* address) const; virtual bool WasEverUsed() const; virtual bool UsingTCPFastOpen() const; |