diff options
| author | Vincent Richard <[email protected]> | 2014-01-19 15:36:45 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2014-01-19 15:36:45 +0000 |
| commit | 2afe340b7b4621b81c3bad10ead23ce50ad83baa (patch) | |
| tree | 62bf88d2e85ea0e938c8ca22d5778447afe078d7 /tests/testUtils.cpp | |
| parent | Fixed SMTP disconnection error caused by handshake failure. (diff) | |
| download | vmime-2afe340b7b4621b81c3bad10ead23ce50ad83baa.tar.gz vmime-2afe340b7b4621b81c3bad10ead23ce50ad83baa.zip | |
In SSL socket, use timeout handler of underlying socket. Throw exception when reading from/writing to disconnected SSL socket.
Diffstat (limited to 'tests/testUtils.cpp')
| -rw-r--r-- | tests/testUtils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testUtils.cpp b/tests/testUtils.cpp index 437b476b..ee642bea 100644 --- a/tests/testUtils.cpp +++ b/tests/testUtils.cpp @@ -79,6 +79,12 @@ const vmime::string testSocket::getPeerAddress() const } +vmime::shared_ptr <vmime::net::timeoutHandler> testSocket::getTimeoutHandler() +{ + return vmime::null; +} + + void testSocket::receive(vmime::string& buffer) { buffer = m_inBuffer; |
