From 2afe340b7b4621b81c3bad10ead23ce50ad83baa Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 19 Jan 2014 16:36:45 +0100 Subject: In SSL socket, use timeout handler of underlying socket. Throw exception when reading from/writing to disconnected SSL socket. --- tests/testUtils.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/testUtils.hpp') diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index f0ecf454..9e72158a 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -263,6 +263,8 @@ public: const vmime::string getPeerName() const; const vmime::string getPeerAddress() const; + vmime::shared_ptr getTimeoutHandler(); + /** Send data to client. * * @param buffer data to send -- cgit